FFmpeg/libavcodec
Andreas Rheinhardt 4a134eb14a avcodec/intrax8: Fix assert
Commit 900ce6f8c3526f27173057bb955f54f4f4f41246 replaced
IntraX8Context.ac_vlc by IntraX8Context.ac_vlc_table,
but forgot to update an av_assert2()*.
cf7ed01938a4d8b2ccd28f1fadacd79103e54eed then
replaced this with a check for j_ac_vlc[mode],
but this makes no sense as j_ac_vlc is of type
const VLCElem [2][2][8][].

Worse yet, mode can be up to three and then
j_ac_vlc[mode] is undefined behaviour. This happened
during the wmv8-x8intra FATE test.

*: Since 84f16bb5e68dc47eca4dc96b3391c58471cd7328
config.h was no longer auto-included in avassert.h
and this disabled av_assert1() and av_assert2()
in files where config.h has not been included before
the inclusion of avassert.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-02-29 10:30:16 +01:00
..
2024-02-27 20:31:30 +02:00
2024-02-27 00:11:21 +01:00
2024-02-27 00:11:21 +01:00
2024-02-12 22:00:03 +02:00
2024-02-12 22:00:03 +02:00
2023-11-26 17:49:09 +01:00
2023-11-26 17:49:09 +01:00
2024-02-27 20:32:37 +02:00
2024-02-27 20:32:37 +02:00
2024-02-29 10:30:16 +01:00
2024-02-20 17:31:40 +11:00
2024-01-25 11:07:28 -05:00
2023-12-11 18:17:43 +02:00
2023-12-11 18:17:43 +02:00
2024-02-21 20:08:25 +02:00
2024-02-21 20:08:25 +02:00
2023-12-29 00:45:20 +01:00
2023-12-22 09:28:04 -03:00
2023-12-22 09:28:04 -03:00
2023-12-08 17:20:48 +02:00
2023-12-08 17:20:48 +02:00
2024-02-03 00:26:17 +01:00
2024-02-17 14:45:49 +02:00
2024-02-17 14:45:49 +02:00