# HG changeset patch # User michaelni # Date 1016485567 0 # Node ID 34f40a0fc840c79b25b9dfa9c6867ff9b330f8d3 # Parent 897dc7c6aa94b2234c6304f8af8d94e5ebc9c52d msmpeg4 bugfix (wrong frame displayed if some frames are skipped) diff -r 897dc7c6aa94 -r 34f40a0fc840 h263dec.c --- a/h263dec.c Mon Mar 18 20:11:43 2002 +0000 +++ b/h263dec.c Mon Mar 18 21:06:07 2002 +0000 @@ -238,7 +238,7 @@ 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];