diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-07 10:31:59 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-24 11:35:03 +0100 |
commit | a03caa384f8f8c7bb2ba30b1bd0e60fa77f25db6 (patch) | |
tree | 0a1825b9609321d5e5d4ecddce34effc7cf0285c /libavcodec/hqxvlc.c | |
parent | b1af617f519cf7bbae1379473c76cff2b0e55659 (diff) | |
download | ffmpeg-a03caa384f8f8c7bb2ba30b1bd0e60fa77f25db6.tar.gz |
avcodec/hqx: Inline constants
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/hqxvlc.c')
-rw-r--r-- | libavcodec/hqxvlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hqxvlc.c b/libavcodec/hqxvlc.c index 06a8073661..7ab2427660 100644 --- a/libavcodec/hqxvlc.c +++ b/libavcodec/hqxvlc.c @@ -2150,7 +2150,7 @@ const HQXAC ff_hqx_ac[NUM_HQX_AC] = { av_cold int ff_hqx_init_vlcs(HQXContext *ctx) { - int ret = init_vlc(&ctx->cbp_vlc, 5, FF_ARRAY_ELEMS(cbp_vlc_lens), + int ret = init_vlc(&ctx->cbp_vlc, HQX_CBP_VLC_BITS, FF_ARRAY_ELEMS(cbp_vlc_lens), cbp_vlc_lens, 1, 1, cbp_vlc_bits, 1, 1, 0); if (ret < 0) return ret; |