]> git.sesse.net Git - ffmpeg/commit
avcodec/mpegvideo: Merge ff_mpv_decode_defaults into ff_mpv_decode_init
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 9 Dec 2020 02:23:32 +0000 (03:23 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 31 Dec 2020 11:00:15 +0000 (12:00 +0100)
commit8af82be946186921d8391eff3a82815d75b44b99
treec2107d290f370b164546498a71191e8ce5e3fced
parentebbdb928e88e160fddedf6eb182503bfefadb37d
avcodec/mpegvideo: Merge ff_mpv_decode_defaults into ff_mpv_decode_init

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_defaults() in
ff_mpv_decode_init().

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/h261dec.c
libavcodec/h263dec.c
libavcodec/mpeg12dec.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavcodec/rv10.c
libavcodec/rv34.c