From cf2baeb3382283d41eac7886ea831f52262971ba Mon Sep 17 00:00:00 2001 From: Stefan Gehrer Date: Tue, 24 Jun 2008 20:01:31 +0000 Subject: mark read-only data as const Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/faandct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/faandct.c') diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c index d82c308400..40df142da5 100644 --- a/libavcodec/faandct.c +++ b/libavcodec/faandct.c @@ -62,7 +62,7 @@ for(i=0; i<8; i++){ #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, -- cgit v1.2.3