Commit 99d498b2 authored by michael's avatar michael

Fix infinite loop at EOF.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14231 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 136ce50f
......@@ -835,6 +835,7 @@ static int svq3_decode_frame (AVCodecContext *avctx,
if (buf_size == 0) {
if (s->next_picture_ptr && !s->low_delay) {
*(AVFrame *) data = *(AVFrame *) &s->next_picture;
s->next_picture_ptr= NULL;
*data_size = sizeof(AVFrame);
}
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