Commit 080f95dc authored by michael's avatar michael

preserve parse context


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