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-03-15 12:51:15 +01:00
2023-11-10 00:14:02 +01:00
2024-02-27 00:11:21 +01:00
2024-02-27 00:11:21 +01:00
2024-03-25 08:54:18 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-02-12 22:00:03 +02:00
2024-02-12 22:00:03 +02:00
2024-05-22 22:04:29 +02:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-04 17:45:00 +01:00
2024-05-22 22:04:40 +02:00
2023-11-14 19:15:51 +02:00
2024-05-22 22:04:39 +02:00
2024-03-10 13:51:37 +01:00
2024-05-22 22:04:30 +02:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-07-25 20:34:06 +02:00
2024-02-29 10:30:16 +01:00
2023-11-08 17:37:58 +11:00
2024-02-20 17:31:40 +11:00
2024-01-25 11:07:28 -05:00
2024-02-21 20:08:25 +02:00
2024-02-21 20:08:25 +02:00
2024-03-12 14:37:49 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2024-07-03 10:22:35 -04:00
2023-11-09 12:53:35 +01:00
2024-06-24 00:10:37 +02:00
2024-03-26 23:19:49 +01:00
2023-11-01 22:53:26 +02:00
2023-12-22 09:28:04 -03:00
2023-12-22 09:28:04 -03:00
2024-03-12 14:37:49 +01:00
2024-03-15 12:51:15 +01:00
2023-12-08 17:20:48 +02:00
2023-12-08 17:20:48 +02:00
2024-03-27 01:04:53 +01:00
2024-02-03 00:26:17 +01:00
2024-05-22 22:04:41 +02:00
2024-07-25 20:34:06 +02:00
2024-02-17 14:45:49 +02:00
2024-02-17 14:45:49 +02:00