Commit 949b1d3b authored by michael's avatar michael

10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren...

10l (scene change pict_type was wrong after coded_frame fix) patch by (Loren Merritt <lorenm at u dot washington dot edu>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3471 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5993fb7c
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment