diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-10-03 22:57:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-10-03 23:32:01 +0200 |
commit | b2bed9325dbd6be0da1d91ffed3f513c40274fd2 (patch) | |
tree | c4794b7e2a2e20e18320ee577fd6261ccd5aed5a /libavcodec/g726.c | |
parent | 49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff) | |
download | ffmpeg-b2bed9325dbd6be0da1d91ffed3f513c40274fd2.tar.gz |
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 6db00feb31..62aeb797e8 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -384,6 +384,7 @@ static const AVCodecDefault defaults[] = { AVCodec ff_adpcm_g726_encoder = { .name = "g726", + .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_ADPCM_G726, .priv_data_size = sizeof(G726Context), @@ -392,7 +393,6 @@ AVCodec ff_adpcm_g726_encoder = { .capabilities = CODEC_CAP_SMALL_LAST_FRAME, .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, - .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), .priv_class = &class, .defaults = defaults, }; @@ -460,6 +460,7 @@ static void g726_decode_flush(AVCodecContext *avctx) AVCodec ff_adpcm_g726_decoder = { .name = "g726", + .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_ADPCM_G726, .priv_data_size = sizeof(G726Context), @@ -467,6 +468,5 @@ AVCodec ff_adpcm_g726_decoder = { .decode = g726_decode_frame, .flush = g726_decode_flush, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), }; #endif |