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:
c17dd51
)
avcodec/utvideodec: Fix vlc len
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 21 Jun 2013 01:22:02 +0000
(
03:22
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 21 Jun 2013 01:22:02 +0000
(
03:22
+0200)
Fixes regression / Ticket2661
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
8be1cc9
..
241431c
100644
(file)
--- 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);