summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 09:15:07 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 09:15:07 +0000
commitb5f09d31c21d1e89f7c4693f28046d3b26209da3 (patch)
treea6e2a42f04e4c19d1bce8933aa2cc5e85ad0d293 /libavcodec/adpcm.c
parent88e70e1b0acbcb80d1fa6576082570122b8cf82b (diff)
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/adpcm.c')
-rw-r--r--libavcodec/adpcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index d8908d34d2..13f20b4293 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1631,7 +1631,7 @@ AVCodec name ## _encoder = { \
adpcm_encode_frame, \
adpcm_encode_close, \
NULL, \
- .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, \
+ .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, \
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
};
#else