diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-05-29 08:41:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-09 14:56:00 +0200 |
commit | 673716c54b39eba9579a38ad222130e3f9549167 (patch) | |
tree | f5fb2f1ffb5766e4076772eb8b21a206fc5895a1 | |
parent | 4b6cb1cc69010cd11b2370d81ef11fd454bc5d98 (diff) | |
download | ffmpeg-673716c54b39eba9579a38ad222130e3f9549167.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>
-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 2bd177d092..296e01125b 100644 --- a/libavcodec/utvideodec.c +++ b/libavcodec/utvideodec.c @@ -71,7 +71,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); |