diff faandct.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents b72f6c4cee12
children 39b409447bfa
line wrap: on
line diff
--- a/faandct.c	Tue Jun 24 18:38:55 2008 +0000
+++ b/faandct.c	Tue Jun 24 20:01:31 2008 +0000
@@ -62,7 +62,7 @@
 #define A5 0.38268343236508977170 // cos(pi*6/16)
 #define A4 1.30656296487637652774 // cos(pi*2/16)sqrt(2)
 
-static FLOAT postscale[64]={
+static const FLOAT postscale[64]={
 B0*B0, B0*B1, B0*B2, B0*B3, B0*B4, B0*B5, B0*B6, B0*B7,
 B1*B0, B1*B1, B1*B2, B1*B3, B1*B4, B1*B5, B1*B6, B1*B7,
 B2*B0, B2*B1, B2*B2, B2*B3, B2*B4, B2*B5, B2*B6, B2*B7,