comparison vorbis_enc.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 67a20f0eb42c
children 38ab367d4231
comparison
equal deleted inserted replaced
10144:50ec8930f99e 10145:7955db355703
1043 sizeof(vorbis_enc_context), 1043 sizeof(vorbis_enc_context),
1044 vorbis_encode_init, 1044 vorbis_encode_init,
1045 vorbis_encode_frame, 1045 vorbis_encode_frame,
1046 vorbis_encode_close, 1046 vorbis_encode_close,
1047 .capabilities= CODEC_CAP_DELAY, 1047 .capabilities= CODEC_CAP_DELAY,
1048 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, 1048 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
1049 .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), 1049 .long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
1050 }; 1050 };