# HG changeset patch # User arpi_esp # Date 1026430446 0 # Node ID 4cee7ce37e10c007b8ac0765b917b43460a3d947 # Parent 8af95bc44ab9a15b6118b162c1b29c534871d19f don't exit decoder after decoding first field -> fixes angels.avi interlacing diff -r 8af95bc44ab9 -r 4cee7ce37e10 mjpeg.c --- 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;