[FFmpeg-cvslog] avcodec/sheervideo: reduce size of vlc tables to normal values

Paul B Mahol git at videolan.org
Wed Aug 12 11:18:36 EEST 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Aug 12 08:14:08 2020 +0200| [f95dac666caea27ce999ab8e8368317b6ebe4076] | committer: Paul B Mahol

avcodec/sheervideo: reduce size of vlc tables to normal values

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

 libavcodec/sheervideo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);



More information about the ffmpeg-cvslog mailing list