Mercurial > libavcodec.hg
comparison libvorbis.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 | 3f766c507a70 |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
10144:50ec8930f99e | 10145:7955db355703 |
---|---|
222 sizeof(OggVorbisContext), | 222 sizeof(OggVorbisContext), |
223 oggvorbis_encode_init, | 223 oggvorbis_encode_init, |
224 oggvorbis_encode_frame, | 224 oggvorbis_encode_frame, |
225 oggvorbis_encode_close, | 225 oggvorbis_encode_close, |
226 .capabilities= CODEC_CAP_DELAY, | 226 .capabilities= CODEC_CAP_DELAY, |
227 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, | 227 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, |
228 .long_name= NULL_IF_CONFIG_SMALL("libvorbis Vorbis"), | 228 .long_name= NULL_IF_CONFIG_SMALL("libvorbis Vorbis"), |
229 } ; | 229 } ; |