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/ac3enc_float.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/ac3enc_float.c')
-rw-r--r-- | libavcodec/ac3enc_float.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index f64019778b..0b9e1de298 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -139,16 +139,17 @@ static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl) #if CONFIG_AC3_ENCODER AVCodec ff_ac3_encoder = { - .name = "ac3", - .type = AVMEDIA_TYPE_AUDIO, - .id = CODEC_ID_AC3, - .priv_data_size = sizeof(AC3EncodeContext), - .init = ff_ac3_encode_init, - .encode2 = ff_ac3_float_encode_frame, - .close = ff_ac3_encode_close, - .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE}, - .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), - .priv_class = &ac3enc_class, + .name = "ac3", + .type = AVMEDIA_TYPE_AUDIO, + .id = CODEC_ID_AC3, + .priv_data_size = sizeof(AC3EncodeContext), + .init = ff_ac3_encode_init, + .encode2 = ff_ac3_float_encode_frame, + .close = ff_ac3_encode_close, + .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT, + AV_SAMPLE_FMT_NONE }, + .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), + .priv_class = &ac3enc_class, .channel_layouts = ff_ac3_channel_layouts, .defaults = ac3_defaults, }; |