From 5bd1fc6fbd34d01856bc9cc54ea8c050efefdb3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de>
Date: Tue, 13 Oct 2009 10:30:10 +0000
Subject: [PATCH] fft_dispatch array should be const

Originally committed as revision 20223 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/fft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index c827139fafd..c1495d5e67c 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,
 };
-- 
GitLab