提交 ea05d9c9 编写于 作者: M Michael Niedermayer

flush fix (untested)

Originally committed as revision 2473 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 e0595741
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册