diff options
author | Mark Thompson <sw@jkqxz.net> | 2023-10-22 19:35:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-07-21 15:29:25 +0200 |
commit | 7110a36ba07f85ca2996d3b99898a4819e72d9bb (patch) | |
tree | 5d39c226cf268521c866976c0e4262e7f7260f26 /libavutil/timecode.c | |
parent | 3faadbe2a27e74ff5bb5f7904ec27bb1f5287dc8 (diff) | |
download | ffmpeg-7110a36ba07f85ca2996d3b99898a4819e72d9bb.tar.gz |
cbs_av1: Reject thirty-two zero bits in uvlc code
The spec allows at least thirty-two zero bits followed by a one to mean
2^32-1, with no constraint on the number of zeroes. The libaom
reference decoder does not match this, instead reading thirty-two zeroes
but not the following one to mean 2^32-1. These two interpretations are
incompatible and other implementations may follow one or the other.
Therefore reject thirty-two zeroes because the intended behaviour is not
clear.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/timecode.c')
0 files changed, 0 insertions, 0 deletions