mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/magicyuv: change bits used by 12bit tables
Higher number slows decoder.
This commit is contained in:
parent
276d86a8b8
commit
57915df230
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue