[FFmpeg-devel] [PATCH 1/2] lavc/intrax8: fix an assert
Nicolas George
george at nsup.org
Wed Apr 26 15:31:37 EEST 2023
Signed-off-by: Nicolas George <george at nsup.org>
---
libavcodec/intrax8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.39.2
More information about the ffmpeg-devel
mailing list