comparison adxenc.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 bf274494b66e
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10144:50ec8930f99e 10145:7955db355703
190 sizeof(ADXContext), 190 sizeof(ADXContext),
191 adx_encode_init, 191 adx_encode_init,
192 adx_encode_frame, 192 adx_encode_frame,
193 adx_encode_close, 193 adx_encode_close,
194 NULL, 194 NULL,
195 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, 195 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
196 .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), 196 .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
197 }; 197 };