[FFmpeg-cvslog] r14231 - trunk/libavcodec/svq3.c
michael
subversion
Mon Jul 14 18:18:29 CEST 2008
Author: michael
Date: Mon Jul 14 18:18:29 2008
New Revision: 14231
Log:
Fix infinite loop at EOF.
Modified:
trunk/libavcodec/svq3.c
Modified: trunk/libavcodec/svq3.c
==============================================================================
--- trunk/libavcodec/svq3.c (original)
+++ trunk/libavcodec/svq3.c Mon Jul 14 18:18:29 2008
@@ -835,6 +835,7 @@ static int svq3_decode_frame (AVCodecCon
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;
More information about the ffmpeg-cvslog
mailing list