comparison libopencore-amr.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 038c7940a21e
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10144:50ec8930f99e 10145:7955db355703
220 sizeof(AMRContext), 220 sizeof(AMRContext),
221 amr_nb_encode_init, 221 amr_nb_encode_init,
222 amr_nb_encode_frame, 222 amr_nb_encode_frame,
223 amr_nb_encode_close, 223 amr_nb_encode_close,
224 NULL, 224 NULL,
225 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, 225 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
226 .long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"), 226 .long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"),
227 }; 227 };
228 228
229 #endif 229 #endif
230 230