[FFmpeg-cvslog] r19783 - trunk/libavcodec/rdft.c

reimar subversion
Sun Sep 6 10:50:21 CEST 2009


Author: reimar
Date: Sun Sep  6 10:50:20 2009
New Revision: 19783

Log:
The pointers in ff_sin_tabs themselves are constant, so mark them accordingly.

Modified:
   trunk/libavcodec/rdft.c

Modified: trunk/libavcodec/rdft.c
==============================================================================
--- trunk/libavcodec/rdft.c	Sun Sep  6 10:48:45 2009	(r19782)
+++ trunk/libavcodec/rdft.c	Sun Sep  6 10:50:20 2009	(r19783)
@@ -40,7 +40,7 @@ DECLARE_ALIGNED_16(FFTSample, ff_sin_819
 DECLARE_ALIGNED_16(FFTSample, ff_sin_16384[8192]);
 DECLARE_ALIGNED_16(FFTSample, ff_sin_32768[16384]);
 DECLARE_ALIGNED_16(FFTSample, ff_sin_65536[32768]);
-FFTSample *ff_sin_tabs[] = {
+FFTSample * const ff_sin_tabs[] = {
     ff_sin_16, ff_sin_32, ff_sin_64, ff_sin_128, ff_sin_256, ff_sin_512, ff_sin_1024,
     ff_sin_2048, ff_sin_4096, ff_sin_8192, ff_sin_16384, ff_sin_32768, ff_sin_65536,
 };



More information about the ffmpeg-cvslog mailing list