Commit 23c8d439 authored by michael's avatar michael

flush fix (untested)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2473 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c4b15fae
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment