mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-20 05:16:38 +00:00
avcodec/utvideodec: Increase vlc len
Fixes a regression sincefb3e380
similar to ticket #2661, reported by fluffrabbit at aol dot com. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit673716c54b
)
This commit is contained in:
parent
bdba204bd0
commit
60e2f9bf8b
@ -70,7 +70,7 @@ static int build_huff(const uint8_t *src, VLC *vlc, int *fsym)
|
||||
code += 0x80000000u >> (he[i].len - 1);
|
||||
}
|
||||
|
||||
return ff_init_vlc_sparse(vlc, FFMIN(he[last].len, 10), last + 1,
|
||||
return ff_init_vlc_sparse(vlc, FFMIN(he[last].len, 11), last + 1,
|
||||
bits, sizeof(*bits), sizeof(*bits),
|
||||
codes, sizeof(*codes), sizeof(*codes),
|
||||
syms, sizeof(*syms), sizeof(*syms), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user