From 425dddb7f13fed36cd840de346c80ad97804b50c Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Wed, 8 Aug 2001 21:57:07 +0000 Subject: [PATCH] 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 --- libavcodec/mpegvideo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index a2b1cb61eb..1a28b07c5c 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]; -- GitLab