diff mjpeg.c @ 540:4cee7ce37e10 libavcodec

don't exit decoder after decoding first field -> fixes angels.avi interlacing
author arpi_esp
date Thu, 11 Jul 2002 23:34:06 +0000
parents d02d0e6db25c
children 4273be971bf8
line wrap: on
line diff
--- a/mjpeg.c	Thu Jul 11 15:55:19 2002 +0000
+++ b/mjpeg.c	Thu Jul 11 23:34:06 2002 +0000
@@ -1247,7 +1247,7 @@
                             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 @@
 #endif
             }
         }
+ not_the_end:
     }
  the_end:
     return buf_ptr - buf;