FFmpeg/libavcodec
Mark Thompson 1b07b2e7e5
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-21 20:05:20 +02:00
..
2023-11-10 00:25:38 +01:00
2022-03-15 09:42:39 -03:00
2022-07-07 21:52:52 +02:00
2022-03-15 09:42:39 -03:00
2022-03-18 19:56:50 +01:00
2022-03-18 19:56:50 +01:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-05-08 10:38:54 +08:00
2022-07-09 20:06:47 +02:00
2024-06-13 11:22:11 +02:00
2022-02-24 12:56:49 +01:00
2022-03-15 09:42:41 -03:00
2022-03-15 09:42:41 -03:00
2022-07-07 21:52:52 +02:00
2024-06-13 11:22:10 +02:00
2022-07-12 21:55:22 +02:00
2023-02-22 00:32:19 +01:00
2024-06-13 11:13:56 +02:00
2022-06-25 09:05:58 +08:00
2022-05-30 19:44:11 +02:00
2024-06-13 19:45:26 +02:00
2022-06-16 10:23:30 +02:00
2022-07-03 15:16:31 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2022-03-16 14:04:35 +02:00
2023-10-30 00:39:00 +01:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2023-02-22 00:10:15 +01:00
2023-02-21 23:53:32 +01:00
2023-10-30 00:38:57 +01:00
2022-04-10 20:12:23 +02:00
2022-04-13 00:37:06 +02:00
2022-06-25 09:05:58 +08:00
2022-07-13 00:27:37 +02:00
2024-06-13 11:22:12 +02:00
2024-06-13 19:44:50 +02:00
2022-03-15 09:42:45 -03:00
2022-07-12 21:55:22 +02:00