summaryrefslogtreecommitdiff
path: root/libavcodec/sonic.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2013-10-04 13:33:20 +0000
committerClément Bœsch <clement@stupeflix.com>2013-10-04 13:33:20 +0000
commitb46f19100b08af54056abf6fb2351f32fb0d91bd (patch)
treef9ab188b2987e8db99d584e28b7d2021a8cc7efa /libavcodec/sonic.c
parentee77140afab7c398651ccf1efad28b5fd7b2bb64 (diff)
downloadffmpeg-b46f19100b08af54056abf6fb2351f32fb0d91bd.tar.gz
cosmetics: group remaining .name and .long_name.
See b2bed9325.
Diffstat (limited to 'libavcodec/sonic.c')
-rw-r--r--libavcodec/sonic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index 7a9db36311..31bbe46a44 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -947,6 +947,7 @@ static int sonic_decode_frame(AVCodecContext *avctx,
AVCodec ff_sonic_decoder = {
.name = "sonic",
+ .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_SONIC,
.priv_data_size = sizeof(SonicContext),
@@ -954,13 +955,13 @@ AVCodec ff_sonic_decoder = {
.close = sonic_decode_close,
.decode = sonic_decode_frame,
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_EXPERIMENTAL,
- .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
};
#endif /* CONFIG_SONIC_DECODER */
#if CONFIG_SONIC_ENCODER
AVCodec ff_sonic_encoder = {
.name = "sonic",
+ .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_SONIC,
.priv_data_size = sizeof(SonicContext),
@@ -969,13 +970,13 @@ AVCodec ff_sonic_encoder = {
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
.capabilities = CODEC_CAP_EXPERIMENTAL,
.close = sonic_encode_close,
- .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
};
#endif
#if CONFIG_SONIC_LS_ENCODER
AVCodec ff_sonic_ls_encoder = {
.name = "sonicls",
+ .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_SONIC_LS,
.priv_data_size = sizeof(SonicContext),
@@ -984,6 +985,5 @@ AVCodec ff_sonic_ls_encoder = {
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
.capabilities = CODEC_CAP_EXPERIMENTAL,
.close = sonic_encode_close,
- .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"),
};
#endif