From 1140139fe288386c38f71a89c7c753583fc4e7ff Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Thu, 16 Sep 2004 17:36:39 +0000 Subject: [PATCH] 10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt ) Originally committed as revision 3471 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 93b0431bdf..d050cb9c0e 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -4845,7 +4845,9 @@ static void encode_picture(MpegEncContext *s, int picture_number) } //FIXME var duplication + s->current_picture_ptr->key_frame= s->current_picture.key_frame= s->pict_type == I_TYPE; //FIXME pic_ptr + s->current_picture_ptr->pict_type= s->current_picture.pict_type= s->pict_type; if(s->current_picture.key_frame)