1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-10-06 05:47:18 +02:00

avformat/mccenc: Hardcode codec names

Reviewed-by: Jacob Lifshay <programmerjake@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-09-19 20:56:10 +02:00
parent f65875c082
commit cce1af5413

View File

@@ -437,9 +437,7 @@ static int mcc_init(AVFormatContext *avf)
} else if (st->codecpar->codec_id != AV_CODEC_ID_SMPTE_436M_ANC) {
av_log(avf,
AV_LOG_ERROR,
"mcc muxer supports only codec %s or codec %s\n",
avcodec_get_name(AV_CODEC_ID_SMPTE_436M_ANC),
avcodec_get_name(AV_CODEC_ID_EIA_608));
"mcc muxer supports only codec smpte_436m_anc or codec eia_608\n");
return AVERROR(EINVAL);
}