You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
msmpeg4 bugfix (wrong frame displayed if some frames are skipped)
Originally committed as revision 339 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -238,7 +238,7 @@ static int h263_decode_frame(AVCodecContext *avctx,
|
|||||||
|
|
||||||
MPV_frame_end(s);
|
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[0] = s->current_picture[0];
|
||||||
pict->data[1] = s->current_picture[1];
|
pict->data[1] = s->current_picture[1];
|
||||||
pict->data[2] = s->current_picture[2];
|
pict->data[2] = s->current_picture[2];
|
||||||
|
Reference in New Issue
Block a user