mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Fix infinite loop at EOF.
Originally committed as revision 14231 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0e3510a31f
commit
54347c2f51
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user