[FFmpeg-devel] [PATCH]Fix utvideo regression
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu May 29 08:44:34 CEST 2014
Hi!
Attached patch fixes an utvideo decoder regression as reported on irc.
Please merge, Carl Eugen
-------------- next part --------------
From 804906681e55e079e481a21ba0c2c369de2b095e Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
Date: Thu, 29 May 2014 08:41:15 +0200
Subject: [PATCH] avcodec/utvideodec: Increase vlc len
Fixes a regression since fb3e380 similar to ticket #2661,
reported by fluffrabbit at aol dot com.
---
libavcodec/utvideodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 2bd177d..296e011 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);
--
1.7.10.4
More information about the ffmpeg-devel
mailing list