projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ac09b
)
don't exit decoder after decoding first field -> fixes angels.avi interlacing
author
Arpi
<arpi@thot.banki.hu>
Thu, 11 Jul 2002 23:34:06 +0000
(23:34 +0000)
committer
Arpi
<arpi@thot.banki.hu>
Thu, 11 Jul 2002 23:34:06 +0000
(23:34 +0000)
Originally committed as revision 746 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpeg.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpeg.c
b/libavcodec/mjpeg.c
index
7068b13
..
d5cb0f5
100644
(file)
--- a/
libavcodec/mjpeg.c
+++ b/
libavcodec/mjpeg.c
@@
-1247,7
+1247,7
@@
static int mjpeg_decode_frame(AVCodecContext *avctx,
s->bottom_field ^= 1;
/* if not bottom field, do not output image yet */
if (s->bottom_field)
- goto the_end;
+ goto
not_
the_end;
}
for(i=0;i<3;i++) {
picture->data[i] = s->current_picture[i];
@@
-1313,6
+1313,7
@@
static int mjpeg_decode_frame(AVCodecContext *avctx,
#endif
}
}
+ not_the_end:
}
the_end:
return buf_ptr - buf;