changeset 2235:0c04463f79d8 libavcodec

10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)
author michael
date Thu, 16 Sep 2004 17:36:39 +0000
parents dff53892ff8a
children b0102ea621dd
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Thu Sep 16 03:31:41 2004 +0000
+++ b/mpegvideo.c	Thu Sep 16 17:36:39 2004 +0000
@@ -4845,7 +4845,9 @@
     }
     
     //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)