diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-24 20:01:31 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-24 20:01:31 +0000 |
commit | cf2baeb3382283d41eac7886ea831f52262971ba (patch) | |
tree | 986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/faandct.c | |
parent | 73cc419b271ac5af8c1aed36b5c0167c7016127a (diff) | |
download | ffmpeg-cf2baeb3382283d41eac7886ea831f52262971ba.tar.gz |
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/faandct.c')
-rw-r--r-- | libavcodec/faandct.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |