fixed mpeg1 first block bug (pb with black picture optimisation for B frames)
authorFabrice Bellard <fabrice@bellard.org>
Wed, 8 Aug 2001 21:57:07 +0000 (21:57 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Wed, 8 Aug 2001 21:57:07 +0000 (21:57 +0000)
Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index a2b1cb6..1a28b07 100644 (file)
@@ -370,6 +370,7 @@ void MPV_frame_start(MpegEncContext *s)
     int i;
     UINT8 *tmp;
 
+    s->mb_skiped = 0;
     if (s->pict_type == B_TYPE) {
         for(i=0;i<3;i++) {
             s->current_picture[i] = s->aux_picture[i];