summaryrefslogtreecommitdiff
path: root/mdct_lookup.h
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2002-10-16 08:10:09 +0000
committerMonty <xiphmont@xiph.org>2002-10-16 08:10:09 +0000
commit0185fc26b02cacd81d6e7c5745ff0752afdb4b1c (patch)
treef4c9287176f2a270383857d6faafc9768b9c5342 /mdct_lookup.h
parent049a933452752e5efb7a63637bc24ea256b0b2db (diff)
downloadtremor-0185fc26b02cacd81d6e7c5745ff0752afdb4b1c.tar.gz
const-ify a few things that really ought to be.
git-svn-id: https://svn.xiph.org/trunk/Tremor@4010 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'mdct_lookup.h')
-rw-r--r--mdct_lookup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdct_lookup.h b/mdct_lookup.h
index 6a2f2bf..1601bd9 100644
--- a/mdct_lookup.h
+++ b/mdct_lookup.h
@@ -17,7 +17,7 @@
/* {sin(2*i*PI/4096), cos(2*i*PI/4096)}, with i = 0 to 512 */
-static ogg_int32_t sincos_lookup0[1026] = {
+static const ogg_int32_t sincos_lookup0[1026] = {
0x00000000, 0x7fffffff, 0x003243f5, 0x7ffff621, 0x006487e3, 0x7fffd886,
0x0096cbc1, 0x7fffa72c, 0x00c90f88, 0x7fff6216, 0x00fb5330, 0x7fff0943,
0x012d96b1, 0x7ffe9cb2, 0x015fda03, 0x7ffe1c65, 0x01921d20, 0x7ffd885a,
@@ -192,7 +192,7 @@ static ogg_int32_t sincos_lookup0[1026] = {
};
/* {sin((2*i+1)*PI/4096), cos((2*i+1)*PI/4096)}, with i = 0 to 511 */
-static ogg_int32_t sincos_lookup1[1024] = {
+static const ogg_int32_t sincos_lookup1[1024] = {
0x001921fb, 0x7ffffd88, 0x004b65ee, 0x7fffe9cb, 0x007da9d4, 0x7fffc251,
0x00afeda8, 0x7fff8719, 0x00e23160, 0x7fff3824, 0x011474f6, 0x7ffed572,
0x0146b860, 0x7ffe5f03, 0x0178fb99, 0x7ffdd4d7, 0x01ab3e97, 0x7ffd36ee,