aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-05-29 08:41:15 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-06-10 00:10:02 +0200
commit60e2f9bf8b7c1e570485dbf8ebf89cee605795cc (patch)
treec34476188efe4d12b236fa90b8dd14105d30b01f
parentbdba204bd07356100b00bd4afac46615d562634f (diff)
downloadffmpeg-60e2f9bf8b7c1e570485dbf8ebf89cee605795cc.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)
-rw-r--r--libavcodec/utvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index e3ef22d2a2..1c7677345c 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, 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);