diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 6333d309bf07b536dbda70bd95e3b9311335a990..c007f49bdcdd3d08e3086bbf11f04181fa22c99c 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -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;