summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2023-04-26 14:28:02 +0200
committerNicolas George <george@nsup.org>2023-07-12 15:35:37 +0200
commitcf7ed01938a4d8b2ccd28f1fadacd79103e54eed (patch)
tree0112579c6d025123bffe6f281c2e6825e03d1ed4
parente6954fd087d4b36cae6834e2c6b423db604f569b (diff)
lavc/intrax8: fix an assert
-rw-r--r--libavcodec/intrax8.c2
1 files changed, 1 insertions, 1 deletions
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)