Commit 431f2172 authored by Michael Niedermayer's avatar Michael Niedermayer

fix decoding if the aspect ratio changes

Originally committed as revision 2367 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ed7debda
......@@ -555,6 +555,9 @@ void MPV_common_end(MpegEncContext *s)
}
avcodec_default_free_buffers(s->avctx);
s->context_initialized = 0;
s->last_picture_ptr=
s->next_picture_ptr=
s->current_picture_ptr= NULL;
}
#ifdef CONFIG_ENCODERS
......
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