diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 08:50:20 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-06 08:50:20 +0000 |
commit | f470fff3234591696d0a12ff498c2bfe9cfc9ff1 (patch) | |
tree | 81bfd1ca0906c3e888777e657837a99a4645ff1c /libavcodec/rdft.c | |
parent | 7eb1c3643184e15b72787e66755a4fd2593d4afa (diff) | |
download | ffmpeg-f470fff3234591696d0a12ff498c2bfe9cfc9ff1.tar.gz |
The pointers in ff_sin_tabs themselves are constant, so mark them accordingly.
Originally committed as revision 19783 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rdft.c')
-rw-r--r-- | libavcodec/rdft.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rdft.c b/libavcodec/rdft.c index a5cf4f9753..0fe26ab01a 100644 --- a/libavcodec/rdft.c +++ b/libavcodec/rdft.c @@ -40,7 +40,7 @@ DECLARE_ALIGNED_16(FFTSample, ff_sin_8192[4096]); 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, }; |