summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-03 17:42:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-03 17:42:50 +0000
commitea05d9c9c71f916b4dd3c62386286d1da09e0ad6 (patch)
tree6d465817374aca8b9412018af17ece5c6eb095dc
parente0595741320f5ee5d3f8be49e8091f1e0670dc23 (diff)
flush fix (untested)
Originally committed as revision 2473 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 748d7ffbfc..87f9976154 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -3210,7 +3210,7 @@ void ff_mpeg_flush(AVCodecContext *avctx){
|| s->picture[i].type == FF_BUFFER_TYPE_USER))
avctx->release_buffer(avctx, (AVFrame*)&s->picture[i]);
}
- s->last_picture_ptr = s->next_picture_ptr = NULL;
+ s->current_picture_ptr = s->last_picture_ptr = s->next_picture_ptr = NULL;
s->parse_context.state= -1;
s->parse_context.frame_start_found= 0;