summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_sei_syntax_template.c
Commit message (Collapse)AuthorAge
* cbs_sei: Detect payload overflows when reading SEI messagesMark Thompson2021-03-12
| | | | | | | | | | The top-level GetBitContext is sized for the whole NAL unit, so it fails to detect overflows where a payload continues into the following message. To fix that, we make a new context on the stack for reading each payload. Fixes: 29892/clusterfuzz-testcase-minimized-ffmpeg_BSF_H264_REDUNDANT_PPS_fuzzer-6310830956216320 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Tested-by: Michael Niedermayer <michael@niedermayer.cc>
* cbs_sei: Remove restrictions on MDCV valuesMark Thompson2021-01-21
| | | | | Since this was originally written the standards have changed to allow arbitrary values here, but leaves their meaning unspecified.
* cbs_h2645: Merge SEI message handling in common between codecsMark Thompson2021-01-21
|
* cbs_h2645: Merge SEI messages in common between codecsMark Thompson2021-01-21
Make a new template file for common SEI messages - this will also apply to H.266.