[FFmpeg-devel] [PATCH 15/39] avcodec/mpegvideo: Merge ff_mpv_decode_defaults into ff_mpv_decode_init
Anton Khirnov
anton at khirnov.net
Wed Dec 30 20:04:03 EET 2020
Quoting Andreas Rheinhardt (2020-12-10 12:16:33)
> These two are always called directly after each other (with the
> exception of the calls in mpeg_decode_init() where some irrelevant
> modifications of the avctx (which could just as well be done before
> ff_mpv_decode_defaults(), because it doesn't have a pointer to the
> AVCodecContext at all and therefore can't see these modifications at
> all) are performed in between), so merge ff_mpv_decode() in
_defaults
> ff_mpv_decode_init().
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
Otherwise looks very good
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list