Redundant since dcb29d37d4ffedc84e44df99f8d22ecf27e0f2cd. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> --- It is of course only redundant if avctx->codec_tag is not allowed to change after avcodec_open2(); the corresponding option is not marked with the AV_OPT_FLAG_RUNTIME_PARAM and the above mentioned commit also relies on this, so I do, too. Btw: I wonder whether vcr2_init_sequence() should not simply be called during init.
libavcodec/mpeg12dec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 56bf73df11..c942be158e 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -2797,7 +2797,6 @@ static int mpeg_decode_frame(AVCodecContext *avctx, AVFrame *picture, } #endif - s2->codec_tag = ff_toupper4(avctx->codec_tag); if (s->mpeg_enc_ctx_allocated == 0 && ( s2->codec_tag == AV_RL32("VCR2") || s2->codec_tag == AV_RL32("BW10") )) -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".