mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
fix decoding if the aspect ratio changes
Originally committed as revision 2367 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ed7debda14
commit
431f2172cd
@ -555,6 +555,9 @@ void MPV_common_end(MpegEncContext *s)
|
|||||||
}
|
}
|
||||||
avcodec_default_free_buffers(s->avctx);
|
avcodec_default_free_buffers(s->avctx);
|
||||||
s->context_initialized = 0;
|
s->context_initialized = 0;
|
||||||
|
s->last_picture_ptr=
|
||||||
|
s->next_picture_ptr=
|
||||||
|
s->current_picture_ptr= NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_ENCODERS
|
#ifdef CONFIG_ENCODERS
|
||||||
|
Loading…
Reference in New Issue
Block a user