[FFmpeg-cvslog] lavc/intrax8: fix an assert

Nicolas George git at videolan.org
Wed Jul 12 16:58:56 EEST 2023


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Wed Apr 26 14:28:02 2023 +0200| [cf7ed01938a4d8b2ccd28f1fadacd79103e54eed] | committer: Nicolas George

lavc/intrax8: fix an assert

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cf7ed01938a4d8b2ccd28f1fadacd79103e54eed
---

 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)



More information about the ffmpeg-cvslog mailing list