# HG changeset patch # User michael # Date 1067881370 0 # Node ID a70c07e13e8ec8fe155de93ae93534c734c0bdb2 # Parent bb0fa675533fa65a1abd6de6b4129c3686f2e6d2 flush fix (untested) diff -r bb0fa675533f -r a70c07e13e8e mpegvideo.c --- a/mpegvideo.c Mon Nov 03 13:58:26 2003 +0000 +++ b/mpegvideo.c Mon Nov 03 17:42:50 2003 +0000 @@ -3210,7 +3210,7 @@ || 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;