Mercurial > libavcodec.hg
comparison flacenc.c @ 10145:7955db355703 libavcodec
Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 09:15:07 +0000 |
parents | 266bf83f634d |
children | 94595d0e617c |
comparison
equal
deleted
inserted
replaced
10144:50ec8930f99e | 10145:7955db355703 |
---|---|
1322 flac_encode_init, | 1322 flac_encode_init, |
1323 flac_encode_frame, | 1323 flac_encode_frame, |
1324 flac_encode_close, | 1324 flac_encode_close, |
1325 NULL, | 1325 NULL, |
1326 .capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY, | 1326 .capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY, |
1327 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, | 1327 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, |
1328 .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | 1328 .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), |
1329 }; | 1329 }; |