You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
fixing decoding of streams with no keyframe at the start
Originally committed as revision 1072 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -1170,6 +1170,8 @@ int ff_msmpeg4_decode_init(MpegEncContext *s)
|
||||
break;
|
||||
}
|
||||
|
||||
s->slice_height= s->mb_height; //to avoid 1/0 if the first frame isnt a keyframe
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user