flush fix (untested)

Originally committed as revision 2473 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-11-03 17:42:50 +00:00
parent e059574132
commit ea05d9c9c7
1 changed files with 1 additions and 1 deletions

View File

@ -3210,7 +3210,7 @@ void ff_mpeg_flush(AVCodecContext *avctx){
|| s->picture[i].type == FF_BUFFER_TYPE_USER)) || s->picture[i].type == FF_BUFFER_TYPE_USER))
avctx->release_buffer(avctx, (AVFrame*)&s->picture[i]); 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.state= -1;
s->parse_context.frame_start_found= 0; s->parse_context.frame_start_found= 0;