Commit 7179513f authored by michaelni's avatar michaelni

msmpeg4 bugfix (wrong frame displayed if some frames are skipped)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@339 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6e77ee10
......@@ -238,7 +238,7 @@ static int h263_decode_frame(AVCodecContext *avctx,
MPV_frame_end(s);
if(s->pict_type==B_TYPE){
if(s->pict_type==B_TYPE || (!s->has_b_frames)){
pict->data[0] = s->current_picture[0];
pict->data[1] = s->current_picture[1];
pict->data[2] = s->current_picture[2];
......
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