aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cookdata.h
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
commitcf2baeb3382283d41eac7886ea831f52262971ba (patch)
tree986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/cookdata.h
parent73cc419b271ac5af8c1aed36b5c0167c7016127a (diff)
downloadffmpeg-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/cookdata.h')
-rw-r--r--libavcodec/cookdata.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/cookdata.h b/libavcodec/cookdata.h
index 1f967bec55..c86577c6b7 100644
--- a/libavcodec/cookdata.h
+++ b/libavcodec/cookdata.h
@@ -422,12 +422,12 @@ static const uint16_t cvh_huffcodes6[32] = {
0x003c,0x01fc,0x00fb,0x03fd,0x00fc,0x03fe,0x01fd,0x07ff,
};
-static const uint16_t* cvh_huffcodes[7] = {
+static const uint16_t* const cvh_huffcodes[7] = {
cvh_huffcodes0, cvh_huffcodes1, cvh_huffcodes2, cvh_huffcodes3,
cvh_huffcodes4, cvh_huffcodes5, cvh_huffcodes6,
};
-static const uint8_t* cvh_huffbits[7] = {
+static const uint8_t* const cvh_huffbits[7] = {
cvh_huffbits0, cvh_huffbits1, cvh_huffbits2, cvh_huffbits3,
cvh_huffbits4, cvh_huffbits5, cvh_huffbits6,
};
@@ -488,12 +488,12 @@ static const uint8_t ccpl_huffbits6[63] = {
14,14,16,
};
-static const uint16_t* ccpl_huffcodes[5] = {
+static const uint16_t* const ccpl_huffcodes[5] = {
ccpl_huffcodes2,ccpl_huffcodes3,
ccpl_huffcodes4,ccpl_huffcodes5,ccpl_huffcodes6
};
-static const uint8_t* ccpl_huffbits[5] = {
+static const uint8_t* const ccpl_huffbits[5] = {
ccpl_huffbits2,ccpl_huffbits3,
ccpl_huffbits4,ccpl_huffbits5,ccpl_huffbits6
};
@@ -556,7 +556,7 @@ static const float cplscale6[63] = {
0.142307326197624,0.109772264957428,0.0631198287010193,
};
-static const float* cplscales[5] = {
+static const float* const cplscales[5] = {
cplscale2, cplscale3, cplscale4, cplscale5, cplscale6,
};