diff mbox series

[FFmpeg-devel,1/2] lavc/intrax8: fix an assert

Message ID 20230426123138.135521-1-george@nsup.org
State Accepted
Commit cf7ed01938a4d8b2ccd28f1fadacd79103e54eed
Headers show
Series [FFmpeg-devel,1/2] lavc/intrax8: fix an assert | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Nicolas George April 26, 2023, 12:31 p.m. UTC
Signed-off-by: Nicolas George <george@nsup.org>
---
 libavcodec/intrax8.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c
index e4c8b96c9c..c5c6727282 100644
--- a/libavcodec/intrax8.c
+++ b/libavcodec/intrax8.c
@@ -109,7 +109,7 @@  static inline void x8_select_ac_table(IntraX8Context *const w, int mode)
     table_index       = get_bits(w->gb, 3);
     // 2 modes use same tables
     w->j_ac_vlc_table[mode] = j_ac_vlc[w->quant < 13][mode >> 1][table_index].table;
-    av_assert2(w->j_ac_vlc[mode]);
+    av_assert2(j_ac_vlc[mode]);
 }
 
 static inline int x8_get_orient_vlc(IntraX8Context *w)