avcodec/magicyuv: change bits used by 12bit tables

Higher number slows decoder.
This commit is contained in:
Paul B Mahol 2020-08-31 19:53:30 +02:00
parent 276d86a8b8
commit 57915df230
1 changed files with 1 additions and 1 deletions

View File

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