Browse code

fft_dispatch array should be const

Originally committed as revision 20223 to svn://svn.ffmpeg.org/ffmpeg/trunk

Reimar Döffinger authored on 2009/10/13 19:30:10
Showing 1 changed files
... ...
@@ -340,7 +340,7 @@ DECL_FFT(16384,8192,4096)
340 340
 DECL_FFT(32768,16384,8192)
341 341
 DECL_FFT(65536,32768,16384)
342 342
 
343
-static void (*fft_dispatch[])(FFTComplex*) = {
343
+static void (* const fft_dispatch[])(FFTComplex*) = {
344 344
     fft4, fft8, fft16, fft32, fft64, fft128, fft256, fft512, fft1024,
345 345
     fft2048, fft4096, fft8192, fft16384, fft32768, fft65536,
346 346
 };