From b2bed9325dbd6be0da1d91ffed3f513c40274fd2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 3 Oct 2013 22:57:53 +0200 Subject: cosmetics: Group .name and .long_name together in codec/format declarations --- libavcodec/adpcmenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/adpcmenc.c') diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index 14b1257966..fb3ce0d24b 100644 --- a/libavcodec/adpcmenc.c +++ b/libavcodec/adpcmenc.c @@ -708,6 +708,7 @@ static const enum AVSampleFormat sample_fmts_p[] = { #define ADPCM_ENCODER(id_, name_, sample_fmts_, long_name_) \ AVCodec ff_ ## name_ ## _encoder = { \ .name = #name_, \ + .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ .type = AVMEDIA_TYPE_AUDIO, \ .id = id_, \ .priv_data_size = sizeof(ADPCMEncodeContext), \ @@ -715,7 +716,6 @@ AVCodec ff_ ## name_ ## _encoder = { \ .encode2 = adpcm_encode_frame, \ .close = adpcm_encode_close, \ .sample_fmts = sample_fmts_, \ - .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ } ADPCM_ENCODER(AV_CODEC_ID_ADPCM_IMA_QT, adpcm_ima_qt, sample_fmts_p, "ADPCM IMA QuickTime"); -- cgit v1.2.3