git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334aafe
)
avcodec/utvideodec: fix use of get_vlc2()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 9 Jun 2014 12:50:17 +0000
(14:50 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 9 Jun 2014 12:56:00 +0000
(14:56 +0200)
The max depth is 3
Found-by: Christophe Gisquet <christophe.gisquet@gmail.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
296e011
..
4d53c1f
100644
(file)
--- a/
libavcodec/utvideodec.c
+++ b/
libavcodec/utvideodec.c
@@
-155,7
+155,7
@@
static int decode_plane(UtvideoContext *c, int plane_no,
"Slice decoding ran out of bits\n");
goto fail;
}
- pix = get_vlc2(&gb, vlc.table, vlc.bits,
4
);
+ pix = get_vlc2(&gb, vlc.table, vlc.bits,
3
);
if (pix < 0) {
av_log(c->avctx, AV_LOG_ERROR, "Decoding error\n");
goto fail;