OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b6cb1c
)
avcodec/utvideodec: Increase vlc len
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 29 May 2014 06:41:15 +0000
(08:41 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 9 Jun 2014 12:56:00 +0000
(14:56 +0200)
Fixes a regression since
fb3e380
similar to ticket #2661,
reported by fluffrabbit at aol dot com.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utvideodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/utvideodec.c
b/libavcodec/utvideodec.c
index
2bd177d
..
296e011
100644
(file)
--- 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, 1
0
), last + 1,
+ return ff_init_vlc_sparse(vlc, FFMIN(he[last].len, 1
1
), last + 1,
bits, sizeof(*bits), sizeof(*bits),
codes, sizeof(*codes), sizeof(*codes),
syms, sizeof(*syms), sizeof(*syms), 0);