diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 09:15:07 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 09:15:07 +0000 |
commit | b5f09d31c21d1e89f7c4693f28046d3b26209da3 (patch) | |
tree | a6e2a42f04e4c19d1bce8933aa2cc5e85ad0d293 /libavcodec/aac.c | |
parent | 88e70e1b0acbcb80d1fa6576082570122b8cf82b (diff) | |
download | ffmpeg-b5f09d31c21d1e89f7c4693f28046d3b26209da3.tar.gz |
Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section.
Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r-- | libavcodec/aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index 8f9249d7f3..fb3c212b70 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -1804,7 +1804,7 @@ AVCodec aac_decoder = { aac_decode_close, aac_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("Advanced Audio Coding"), - .sample_fmts = (enum SampleFormat[]) { + .sample_fmts = (const enum SampleFormat[]) { SAMPLE_FMT_S16,SAMPLE_FMT_NONE }, }; |