changeset 10391:74715d4288ad libavcodec

fft_dispatch array should be const
author reimar
date Tue, 13 Oct 2009 10:30:10 +0000
parents 5198794511a4
children 32ee88f14239
files fft.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fft.c	Tue Oct 13 08:23:00 2009 +0000
+++ b/fft.c	Tue Oct 13 10:30:10 2009 +0000
@@ -340,7 +340,7 @@
 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,
 };