[FFmpeg-cvslog] r20223 - trunk/libavcodec/fft.c

reimar subversion
Tue Oct 13 12:30:10 CEST 2009


Author: reimar
Date: Tue Oct 13 12:30:10 2009
New Revision: 20223

Log:
fft_dispatch array should be const

Modified:
   trunk/libavcodec/fft.c

Modified: trunk/libavcodec/fft.c
==============================================================================
--- trunk/libavcodec/fft.c	Tue Oct 13 10:23:00 2009	(r20222)
+++ trunk/libavcodec/fft.c	Tue Oct 13 12:30:10 2009	(r20223)
@@ -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,
 };



More information about the ffmpeg-cvslog mailing list