summaryrefslogtreecommitdiff
path: root/libavcodec/libilbc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-10-03 22:57:53 +0200
committerDiego Biurrun <diego@biurrun.de>2013-10-03 23:32:01 +0200
commitb2bed9325dbd6be0da1d91ffed3f513c40274fd2 (patch)
treec4794b7e2a2e20e18320ee577fd6261ccd5aed5a /libavcodec/libilbc.c
parent49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff)
downloadffmpeg-b2bed9325dbd6be0da1d91ffed3f513c40274fd2.tar.gz
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/libilbc.c')
-rw-r--r--libavcodec/libilbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
index 714fdb0210..af693bd728 100644
--- a/libavcodec/libilbc.c
+++ b/libavcodec/libilbc.c
@@ -105,13 +105,13 @@ static int ilbc_decode_frame(AVCodecContext *avctx, void *data,
AVCodec ff_libilbc_decoder = {
.name = "libilbc",
+ .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_ILBC,
.priv_data_size = sizeof(ILBCDecContext),
.init = ilbc_decode_init,
.decode = ilbc_decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
.priv_class = &ilbc_dec_class,
};
@@ -182,6 +182,7 @@ static const AVCodecDefault ilbc_encode_defaults[] = {
AVCodec ff_libilbc_encoder = {
.name = "libilbc",
+ .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_ILBC,
.priv_data_size = sizeof(ILBCEncContext),
@@ -189,7 +190,6 @@ AVCodec ff_libilbc_encoder = {
.encode2 = ilbc_encode_frame,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_NONE },
- .long_name = NULL_IF_CONFIG_SMALL("iLBC (Internet Low Bitrate Codec)"),
.defaults = ilbc_encode_defaults,
.priv_class = &ilbc_enc_class,
};