summaryrefslogtreecommitdiff
path: root/libavcodec/sheervideo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-12 08:14:08 +0200
committerPaul B Mahol <onemda@gmail.com>2020-08-12 10:17:01 +0200
commitf95dac666caea27ce999ab8e8368317b6ebe4076 (patch)
treead6c78cf629f0840e2be308e6a360ff1bcc9e824 /libavcodec/sheervideo.c
parent0a51abe8ab71c03eff66200265142fc910bcbfe2 (diff)
avcodec/sheervideo: reduce size of vlc tables to normal values
Diffstat (limited to 'libavcodec/sheervideo.c')
-rw-r--r--libavcodec/sheervideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c
index 1a43727a30..58776421d7 100644
--- a/libavcodec/sheervideo.c
+++ b/libavcodec/sheervideo.c
@@ -1795,7 +1795,7 @@ static int build_vlc(VLC *vlc, const uint8_t *len, int count)
}
ff_free_vlc(vlc);
- return ff_init_vlc_sparse(vlc, 16, count,
+ return ff_init_vlc_sparse(vlc, 12, count,
bits, sizeof(*bits), sizeof(*bits),
codes, sizeof(*codes), sizeof(*codes),
syms, sizeof(*syms), sizeof(*syms), 0);