diff options
author | James Almer <jamrial@gmail.com> | 2020-06-11 13:06:17 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-06-14 16:45:05 -0300 |
commit | dba8e32e444e72c273bdc04a57dfb4c5a67388e7 (patch) | |
tree | a9658d0fa158a2e9736ae9284773dd8357285d8c /libavcodec/cbs.c | |
parent | e6ab99f324b4b2bbb76afc9cd5463ce653ace72e (diff) | |
download | ffmpeg-dba8e32e444e72c273bdc04a57dfb4c5a67388e7.tar.gz |
avcodec/cbs_av1: abort when written inferred values don't match
If this happens, it's a sign of parsing issues earlier in the process, or
misuse by the calling module.
Prevents writing invalid bitstreams.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 318a1a383dc0312ad5b4afec0ddf0d8d231f5c79)
Diffstat (limited to 'libavcodec/cbs.c')
0 files changed, 0 insertions, 0 deletions