diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-08-31 19:53:30 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-08-31 19:56:22 +0200 |
commit | 57915df230b8241cb3636041c4113a2e1f8fa92f (patch) | |
tree | d8df926e5aef70868840ce8b917213c9cd050edb | |
parent | 276d86a8b80378ac08f51dbd2698c4d234f0e5d6 (diff) | |
download | ffmpeg-57915df230b8241cb3636041c4113a2e1f8fa92f.tar.gz |
avcodec/magicyuv: change bits used by 12bit tables
Higher number slows decoder.
-rw-r--r-- | libavcodec/magicyuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c index af2f1687aa..a255f82d9c 100644 --- a/libavcodec/magicyuv.c +++ b/libavcodec/magicyuv.c @@ -152,7 +152,7 @@ static int huff_build12(VLC *vlc, uint8_t *len) } ff_free_vlc(vlc); - return ff_init_vlc_sparse(vlc, FFMIN(he[4095].len, 14), 4096, + return ff_init_vlc_sparse(vlc, FFMIN(he[4095].len, 12), 4096, bits, sizeof(*bits), sizeof(*bits), codes, sizeof(*codes), sizeof(*codes), syms, sizeof(*syms), sizeof(*syms), 0); |