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/y41penc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/y41penc.c') diff --git a/libavcodec/y41penc.c b/libavcodec/y41penc.c index f7ac58c30e..d3ef88c2ce 100644 --- a/libavcodec/y41penc.c +++ b/libavcodec/y41penc.c @@ -79,7 +79,7 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const FFCodec ff_y41p_encoder = { .p.name = "y41p", - .p.long_name = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"), + CODEC_LONG_NAME("Uncompressed YUV 4:1:1 12-bit"), .p.type = AVMEDIA_TYPE_VIDEO, .p.id = AV_CODEC_ID_Y41P, .p.capabilities = AV_CODEC_CAP_DR1, -- cgit v1.2.1