Commit 95a307d4 authored by michael's avatar michael

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

frame input


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9144 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 646f126f
...@@ -2417,6 +2417,7 @@ retry: ...@@ -2417,6 +2417,7 @@ retry:
return -1; return -1;
}else if(s->frame_size < buf_size){ }else if(s->frame_size < buf_size){
av_log(avctx, AV_LOG_ERROR, "incorrect frame size\n"); 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); 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