Mercurial > libavcodec.hg
changeset 273:34f40a0fc840 libavcodec
msmpeg4 bugfix (wrong frame displayed if some frames are skipped)
author | michaelni |
---|---|
date | Mon, 18 Mar 2002 21:06:07 +0000 |
parents | 897dc7c6aa94 |
children | d0c186bcf075 |
files | h263dec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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];