Commit d5aa01cd authored by Michael Niedermayer's avatar Michael Niedermayer

make decoder decode the first frame properly if theres more than just one

frame input

Originally committed as revision 9144 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cca2adb8
......@@ -2417,6 +2417,7 @@ retry:
return -1;
}else if(s->frame_size < buf_size){
av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n");
buf_size= s->frame_size;
}
out_size = mp_decode_frame(s, out_samples, buf, buf_size);
......
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