From 48286d4d98e6417dff397d6f15e6b2ca3310f0ca Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 29 Aug 2022 13:38:02 +0200 Subject: avcodec/codec_internal: Add macro to set AVCodec.long_name It reduces typing: Before this patch, there were 105 codecs whose long_name-definition exceeded the 80 char line length limit. Now there are only nine of them. Signed-off-by: Andreas Rheinhardt --- libavcodec/fastaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/fastaudio.c') diff --git a/libavcodec/fastaudio.c b/libavcodec/fastaudio.c index 262e2bea7c..f5569f5206 100644 --- a/libavcodec/fastaudio.c +++ b/libavcodec/fastaudio.c @@ -186,7 +186,7 @@ static av_cold int fastaudio_close(AVCodecContext *avctx) const FFCodec ff_fastaudio_decoder = { .p.name = "fastaudio", - .p.long_name = NULL_IF_CONFIG_SMALL("MobiClip FastAudio"), + CODEC_LONG_NAME("MobiClip FastAudio"), .p.type = AVMEDIA_TYPE_AUDIO, .p.id = AV_CODEC_ID_FASTAUDIO, .priv_data_size = sizeof(FastAudioContext), -- cgit v1.2.3