aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aactab.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-10-02 15:52:04 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-10-02 15:52:04 +0000
commit9b5ede5b64a81195ed922ce92c7f4e7b185be697 (patch)
tree22421f60e5e1fda0e2c6a4261e971349fb9e4f6d /libavcodec/aactab.c
parent6dbfb7de82552062bb892e9f775f83a3e7072af4 (diff)
downloadffmpeg-9b5ede5b64a81195ed922ce92c7f4e7b185be697.tar.gz
Add (additional) const to many global tables.
Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r--libavcodec/aactab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index 25f8d111b6..b9f16f1dda 100644
--- a/libavcodec/aactab.c
+++ b/libavcodec/aactab.c
@@ -387,12 +387,12 @@ static const uint8_t bits11[289] = {
5,
};
-const uint16_t *ff_aac_spectral_codes[11] = {
+const uint16_t * const ff_aac_spectral_codes[11] = {
codes1, codes2, codes3, codes4, codes5, codes6, codes7, codes8,
codes9, codes10, codes11,
};
-const uint8_t *ff_aac_spectral_bits[11] = {
+const uint8_t * const ff_aac_spectral_bits[11] = {
bits1, bits2, bits3, bits4, bits5, bits6, bits7, bits8,
bits9, bits10, bits11,
};
@@ -888,7 +888,7 @@ static const float codebook_vector10[578] = {
64.0f, 64.0f,
};
-const float *ff_aac_codebook_vectors[] = {
+const float * const ff_aac_codebook_vectors[] = {
codebook_vector0, codebook_vector0, codebook_vector2,
codebook_vector2, codebook_vector4, codebook_vector4,
codebook_vector6, codebook_vector6, codebook_vector8,