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:
b34c7a5
)
mjpegdec: fix len for AVI1 reader
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 15 Sep 2011 01:04:28 +0000
(
03:04
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 15 Sep 2011 02:18:32 +0000
(
04:18
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegdec.c
b/libavcodec/mjpegdec.c
index
2c6330b
..
66114f8
100644
(file)
--- a/
libavcodec/mjpegdec.c
+++ b/
libavcodec/mjpegdec.c
@@
-1122,7
+1122,7
@@
static int mjpeg_decode_app(MJpegDecodeContext *s)
s->buggy_avid = 1;
// if (s->first_picture)
// printf("mjpeg: workarounding buggy AVID\n");
- i = get_bits(&s->gb, 8);
+ i = get_bits(&s->gb, 8);
len--;
if (i==2) s->bottom_field= 1;
else if(i==1) s->bottom_field= 0;
#if 0