aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-08 21:57:07 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-08 21:57:07 +0000
commit425dddb7f13fed36cd840de346c80ad97804b50c (patch)
treecfe43d7851b9b89bbda8f8fe117c09024f8efb6c
parentb9ecd1ee7449900a1dc6fa9931c12bdb9d92ad5d (diff)
downloadffmpeg-425dddb7f13fed36cd840de346c80ad97804b50c.tar.gz
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
-rw-r--r--libavcodec/mpegvideo.c1
1 files changed, 1 insertions, 0 deletions
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];