diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-05-29 08:41:15 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-06-10 00:21:05 +0200 |
commit | 0983720cf2b45d6f8b19ab406ff2f07c34caedf1 (patch) | |
tree | ff86ae4c5f96fbbd120f61dabf645619214dee4d | |
parent | 9e9d92bbcc4fb25fbe2bbc3b9aff3f29ed7b7ee5 (diff) | |
download | ffmpeg-0983720cf2b45d6f8b19ab406ff2f07c34caedf1.tar.gz |
avcodec/utvideodec: Increase vlc len
Fixes a regression since fb3e380 similar to ticket #2661,
reported by fluffrabbit at aol dot com.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 673716c54b39eba9579a38ad222130e3f9549167)
Conflicts:
libavcodec/utvideodec.c
-rw-r--r-- | libavcodec/utvideodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c index 259030aac5..3108159bbd 100644 --- a/libavcodec/utvideodec.c +++ b/libavcodec/utvideodec.c @@ -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, 9), 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); |