comparison g726.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 0dce4fe6e6f3
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10144:50ec8930f99e 10145:7955db355703
392 sizeof(G726Context), 392 sizeof(G726Context),
393 g726_init, 393 g726_init,
394 g726_encode_frame, 394 g726_encode_frame,
395 g726_close, 395 g726_close,
396 NULL, 396 NULL,
397 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, 397 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
398 .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), 398 .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
399 }; 399 };
400 #endif 400 #endif
401 401
402 AVCodec adpcm_g726_decoder = { 402 AVCodec adpcm_g726_decoder = {