diff h263dec.c @ 763:339db642859d libavcodec

fixing interlaced MC & edge-emu
author michaelni
date Wed, 23 Oct 2002 08:14:12 +0000
parents 7f4cc2f6d642
children d4cc92144266
line wrap: on
line diff
--- a/h263dec.c	Tue Oct 22 23:43:25 2002 +0000
+++ b/h263dec.c	Wed Oct 23 08:14:12 2002 +0000
@@ -327,6 +327,8 @@
         return 0;
     }
 
+retry:
+    
     if(s->bitstream_buffer_size && buf_size<20){ //divx 5.01+ frame reorder
         init_get_bits(&s->gb, s->bitstream_buffer, s->bitstream_buffer_size);
     }else
@@ -431,8 +433,7 @@
 	    avctx->aspected_height = s->aspected_height;
 	}
 
-        if (MPV_common_init(s) < 0)
-            return -1;
+        goto retry;
     }
 
     if((s->codec_id==CODEC_ID_H263 || s->codec_id==CODEC_ID_H263P))