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:
e009432
)
mjpeg: interlaced buggy avid fix
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 15 Sep 2011 02:12:32 +0000
(
04:12
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 15 Sep 2011 02:20:11 +0000
(
04:20
+0200)
Fix Ticket362
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
66114f8
..
4a5b046
100644
(file)
--- a/
libavcodec/mjpegdec.c
+++ b/
libavcodec/mjpegdec.c
@@
-1123,8
+1123,7
@@
static int mjpeg_decode_app(MJpegDecodeContext *s)
// if (s->first_picture)
// printf("mjpeg: workarounding buggy AVID\n");
i = get_bits(&s->gb, 8); len--;
- if (i==2) s->bottom_field= 1;
- else if(i==1) s->bottom_field= 0;
+ av_log(s->avctx, AV_LOG_DEBUG, "polarity %d\n", i);
#if 0
skip_bits(&s->gb, 8);
skip_bits(&s->gb, 32);