aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-13 10:30:10 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-13 10:30:10 +0000
commit5bd1fc6fbd34d01856bc9cc54ea8c050efefdb3f (patch)
tree18b675a7756bac260c1744b324b5b8fa922552c9
parentc522b4e94eefaf4a7294e11f3f1940fcc52e4ddc (diff)
downloadffmpeg-5bd1fc6fbd34d01856bc9cc54ea8c050efefdb3f.tar.gz
fft_dispatch array should be const
Originally committed as revision 20223 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/fft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index c827139faf..c1495d5e67 100644
--- a/libavcodec/fft.c
+++ b/libavcodec/fft.c
@@ -340,7 +340,7 @@ DECL_FFT(16384,8192,4096)
DECL_FFT(32768,16384,8192)
DECL_FFT(65536,32768,16384)
-static void (*fft_dispatch[])(FFTComplex*) = {
+static void (* const fft_dispatch[])(FFTComplex*) = {
fft4, fft8, fft16, fft32, fft64, fft128, fft256, fft512, fft1024,
fft2048, fft4096, fft8192, fft16384, fft32768, fft65536,
};