You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/utvideodec: Fix vlc len
Fixes regression / Ticket2661 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -70,7 +70,7 @@ static int build_huff(const uint8_t *src, VLC *vlc, int *fsym)
|
|||||||
code += 0x80000000u >> (he[i].len - 1);
|
code += 0x80000000u >> (he[i].len - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ff_init_vlc_sparse(vlc, FFMIN(he[last].len, 9), last + 1,
|
return ff_init_vlc_sparse(vlc, FFMIN(he[last].len, 10), last + 1,
|
||||||
bits, sizeof(*bits), sizeof(*bits),
|
bits, sizeof(*bits), sizeof(*bits),
|
||||||
codes, sizeof(*codes), sizeof(*codes),
|
codes, sizeof(*codes), sizeof(*codes),
|
||||||
syms, sizeof(*syms), sizeof(*syms), 0);
|
syms, sizeof(*syms), sizeof(*syms), 0);
|
||||||
|
Reference in New Issue
Block a user