diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-29 13:38:02 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-03 15:42:57 +0200 |
commit | 48286d4d98e6417dff397d6f15e6b2ca3310f0ca (patch) | |
tree | 32ee2a1b56b100f84a1fffcf5e888ce2f3a49e49 /libavcodec/8svx.c | |
parent | dea974456035d8d43c69a23b9db036a544bb0455 (diff) | |
download | ffmpeg-48286d4d98e6417dff397d6f15e6b2ca3310f0ca.tar.gz |
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 <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/8svx.c')
-rw-r--r-- | libavcodec/8svx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index 1c6d78379d..ed635f9ede 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -189,7 +189,7 @@ static av_cold int eightsvx_decode_close(AVCodecContext *avctx) #if CONFIG_EIGHTSVX_FIB_DECODER const FFCodec ff_eightsvx_fib_decoder = { .p.name = "8svx_fib", - .p.long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), + CODEC_LONG_NAME("8SVX fibonacci"), .p.type = AVMEDIA_TYPE_AUDIO, .p.id = AV_CODEC_ID_8SVX_FIB, .priv_data_size = sizeof (EightSvxContext), @@ -204,7 +204,7 @@ const FFCodec ff_eightsvx_fib_decoder = { #if CONFIG_EIGHTSVX_EXP_DECODER const FFCodec ff_eightsvx_exp_decoder = { .p.name = "8svx_exp", - .p.long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), + CODEC_LONG_NAME("8SVX exponential"), .p.type = AVMEDIA_TYPE_AUDIO, .p.id = AV_CODEC_ID_8SVX_EXP, .priv_data_size = sizeof (EightSvxContext), |