summaryrefslogtreecommitdiffstats
path: root/libavcodec/av1_parse.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/av1_parse: Use av_fast_realloc() for OBU arrayJames Almer2019-10-151-2/+6
| | | | | | | Based on commits 22bec0d33f4231487547581a1f77e2e8e6eade88 and cebb446911fdc6c42d5a480b441b025c399e4a88. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: simplify memset callJames Almer2019-10-151-2/+1
| | | | | | | | Removed (new_size - pkt->nals_allocated) because this value is always 1 during the call. Based on commit 78b86c30d3860135042505dd4a9cbd95c4e6257d. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: take trailing bits into account when initializing the ↵James Almer2018-08-171-10/+15
| | | | | | | | | | GetBitContext Also only initialize it in ff_av1_packet_split() and not ff_av1_extract_obu(), same as h2645_parse, so GetBitContext specific failures may not affect the latter. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: return size of the parsed OBU in parse_obu_header()James Almer2018-08-021-8/+7
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: add AV1 packet split APIJames Almer2018-07-201-0/+103
Signed-off-by: James Almer <jamrial@gmail.com>
OpenPOWER on IntegriCloud