提交 89ba9eed 编写于 作者: M Michael Niedermayer

preserve parse context

Originally committed as revision 4241 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 6ab87211
......@@ -2083,7 +2083,10 @@ static int mpeg_decode_postinit(AVCodecContext *avctx){
{
if (s1->mpeg_enc_ctx_allocated) {
ParseContext pc= s->parse_context;
s->parse_context.buffer=0;
MPV_common_end(s);
s->parse_context= pc;
}
if( (s->width == 0 )||(s->height == 0))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册