summaryrefslogtreecommitdiff
path: root/libavcodec/av1_parse.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove/replace some unnecessary avcodec.h inclusionsAndreas Rheinhardt2021-07-221-1/+5
| | | | | | | Also remove other unnecessary headers and include headers directly while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/av1_parse: use macro for MAX_OBU_HEADER_SIZEXu Guangxin2020-08-131-1/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: don't look for trailing bits in Tile List OBUsJames Almer2020-02-051-1/+3
| | | | | | The spec states there aren't any. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: Use av_fast_realloc() for OBU arrayJames Almer2019-10-151-0/+1
| | | | | | | Based on commits 22bec0d33f4231487547581a1f77e2e8e6eade88 and cebb446911fdc6c42d5a480b441b025c399e4a88. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: Check obu_sizeMichael Niedermayer2018-10-151-2/+2
| | | | | | | | | Fixes: out of array read Fixes: SIGSEGV_get_obu_bit_length_av1_parse Found-by: keval shah <skeval65@gmail.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/av1_parse: Fix bistream typoMichael Niedermayer2018-09-191-2/+2
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/av1_parse: take trailing bits into account when initializing the ↵James Almer2018-08-171-0/+38
| | | | | | | | | | 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-1/+7
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: check for OBU header overreadJames Almer2018-08-021-0/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: add AV1 packet split APIJames Almer2018-07-201-0/+126
Signed-off-by: James Almer <jamrial@gmail.com>