aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-21 03:22:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-21 03:22:02 +0200
commit79cd5d39ba11cbad9ca4b965cbede480f19cb839 (patch)
tree1deaeedb7c5f925405671454ff06f8c3992083a4
parentc17dd513e7f15ef074e435119db7895837e6283a (diff)
downloadffmpeg-79cd5d39ba11cbad9ca4b965cbede480f19cb839.tar.gz
avcodec/utvideodec: Fix vlc len
Fixes regression / Ticket2661 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/utvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 8be1cc97ea..241431cc31 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, 10), last + 1,
bits, sizeof(*bits), sizeof(*bits),
codes, sizeof(*codes), sizeof(*codes),
syms, sizeof(*syms), sizeof(*syms), 0);