summaryrefslogtreecommitdiff
path: root/libavcodec/av1_parse.h
Commit message (Collapse)AuthorAge
* avcodec/av1_parse: don't look for trailing bits in Tile List OBUsJames Almer2020-02-05
| | | | | | 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-15
| | | | | | | Based on commits 22bec0d33f4231487547581a1f77e2e8e6eade88 and cebb446911fdc6c42d5a480b441b025c399e4a88. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: Check obu_sizeMichael Niedermayer2018-10-15
| | | | | | | | | 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-19
| | | | | 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-17
| | | | | | | | | | 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-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/av1_parse: check for OBU header overreadJames Almer2018-08-02
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: add AV1 packet split APIJames Almer2018-07-20
Signed-off-by: James Almer <jamrial@gmail.com>