1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavcodec
Mark Thompson 3c85e12e5a
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>
(cherry picked from commit 7110a36ba07f85ca2996d3b99898a4819e72d9bb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-07-25 20:34:23 +02:00
..
2024-05-22 22:04:29 +02:00
2024-05-22 22:04:40 +02:00
2024-05-22 22:04:39 +02:00
2024-05-22 22:04:30 +02:00
2024-07-25 20:34:06 +02:00
2024-07-03 10:22:35 -04:00
2024-06-24 00:10:37 +02:00
2024-05-22 22:04:41 +02:00
2024-07-25 20:34:06 +02:00