Browse Source

Fix infinite loop at EOF.

Originally committed as revision 14231 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
54347c2f51
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/svq3.c

+ 1
- 0
libavcodec/svq3.c View File

@@ -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…
Cancel
Save