diff options
author | Martin Storsjö <martin@martin.st> | 2012-04-06 19:19:39 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-04-06 22:37:38 +0300 |
commit | 00c3b67b8ac6bfdc5a01535173dc537824a53d6e (patch) | |
tree | 5e792eb0a8fa6cc4f1b1c039b12e733309dfc7d4 /libavcodec/aacdec.c | |
parent | 6d27d8b1dddc779d5800ace3f96697c91eca51dd (diff) | |
download | ffmpeg-00c3b67b8ac6bfdc5a01535173dc537824a53d6e.tar.gz |
cosmetics: Align codec declarations
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r-- | libavcodec/aacdec.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 90840b5e87..e7c9423e4a 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -2773,18 +2773,18 @@ static av_cold int latm_decode_init(AVCodecContext *avctx) AVCodec ff_aac_decoder = { - .name = "aac", - .type = AVMEDIA_TYPE_AUDIO, - .id = CODEC_ID_AAC, - .priv_data_size = sizeof(AACContext), - .init = aac_decode_init, - .close = aac_decode_close, - .decode = aac_decode_frame, - .long_name = NULL_IF_CONFIG_SMALL("Advanced Audio Coding"), - .sample_fmts = (const enum AVSampleFormat[]) { + .name = "aac", + .type = AVMEDIA_TYPE_AUDIO, + .id = CODEC_ID_AAC, + .priv_data_size = sizeof(AACContext), + .init = aac_decode_init, + .close = aac_decode_close, + .decode = aac_decode_frame, + .long_name = NULL_IF_CONFIG_SMALL("Advanced Audio Coding"), + .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, - .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, + .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, .channel_layouts = aac_channel_layout, }; @@ -2794,17 +2794,17 @@ AVCodec ff_aac_decoder = { To do a more complex LATM demuxing a separate LATM demuxer should be used. */ AVCodec ff_aac_latm_decoder = { - .name = "aac_latm", - .type = AVMEDIA_TYPE_AUDIO, - .id = CODEC_ID_AAC_LATM, - .priv_data_size = sizeof(struct LATMContext), - .init = latm_decode_init, - .close = aac_decode_close, - .decode = latm_decode_frame, - .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Codec LATM syntax)"), - .sample_fmts = (const enum AVSampleFormat[]) { + .name = "aac_latm", + .type = AVMEDIA_TYPE_AUDIO, + .id = CODEC_ID_AAC_LATM, + .priv_data_size = sizeof(struct LATMContext), + .init = latm_decode_init, + .close = aac_decode_close, + .decode = latm_decode_frame, + .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Codec LATM syntax)"), + .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, - .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, + .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, .channel_layouts = aac_channel_layout, }; |