aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fft.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 08:53:14 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 08:53:14 +0000
commitfaca56191c0a2e9512703a3e01182451d920a6f8 (patch)
treec2af9d1ead69294c2f5ae603abb0c04fb527b53a /libavcodec/fft.c
parentf470fff3234591696d0a12ff498c2bfe9cfc9ff1 (diff)
downloadandroid_external_ffmpeg-faca56191c0a2e9512703a3e01182451d920a6f8.tar.gz
android_external_ffmpeg-faca56191c0a2e9512703a3e01182451d920a6f8.tar.bz2
android_external_ffmpeg-faca56191c0a2e9512703a3e01182451d920a6f8.zip
The ff_cos_tabs table itself is constant, too, so mark it as such.
Originally committed as revision 19784 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r--libavcodec/fft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index a3f1151472..ad8d8812d1 100644
--- a/libavcodec/fft.c
+++ b/libavcodec/fft.c
@@ -42,7 +42,7 @@ DECLARE_ALIGNED_16(FFTSample, ff_cos_8192[4096]);
DECLARE_ALIGNED_16(FFTSample, ff_cos_16384[8192]);
DECLARE_ALIGNED_16(FFTSample, ff_cos_32768[16384]);
DECLARE_ALIGNED_16(FFTSample, ff_cos_65536[32768]);
-FFTSample *ff_cos_tabs[] = {
+FFTSample * const ff_cos_tabs[] = {
ff_cos_16, ff_cos_32, ff_cos_64, ff_cos_128, ff_cos_256, ff_cos_512, ff_cos_1024,
ff_cos_2048, ff_cos_4096, ff_cos_8192, ff_cos_16384, ff_cos_32768, ff_cos_65536,
};