Commit 917f5827 authored by Michael Niedermayer's avatar Michael Niedermayer

fixing decoding of streams with no keyframe at the start

Originally committed as revision 1072 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 50eb9cbc
......@@ -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;
}
......
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