summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisdec.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/vorbisdec.c
parent49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff)
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r--libavcodec/vorbisdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index 25c5958063..d7fec98c6e 100644
--- a/libavcodec/vorbisdec.c
+++ b/libavcodec/vorbisdec.c
@@ -1761,6 +1761,7 @@ static av_cold void vorbis_decode_flush(AVCodecContext *avctx)
AVCodec ff_vorbis_decoder = {
.name = "vorbis",
+ .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_VORBIS,
.priv_data_size = sizeof(vorbis_context),
@@ -1769,7 +1770,6 @@ AVCodec ff_vorbis_decoder = {
.decode = vorbis_decode_frame,
.flush = vorbis_decode_flush,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
.channel_layouts = ff_vorbis_channel_layouts,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_NONE },