From: Fabrice Bellard Date: Wed, 8 Aug 2001 21:57:07 +0000 (+0000) Subject: fixed mpeg1 first block bug (pb with black picture optimisation for B frames) X-Git-Tag: v0.5~18396 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=425dddb7f13fed36cd840de346c80ad97804b50c;p=platform%2Fupstream%2Flibav.git fixed mpeg1 first block bug (pb with black picture optimisation for B frames) Originally committed as revision 59 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index a2b1cb6..1a28b07 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -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];