aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aactab.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 08:48:45 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-06 08:48:45 +0000
commit7eb1c3643184e15b72787e66755a4fd2593d4afa (patch)
treed013526908ae498f0cedc203712dcb6fedfc8b54 /libavcodec/aactab.c
parented034f6c595c188daacdb76abffb0bfd6d66ecb7 (diff)
downloadffmpeg-7eb1c3643184e15b72787e66755a4fd2593d4afa.tar.gz
ff_swb_offset_* tables should be const.
Originally committed as revision 19782 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r--libavcodec/aactab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index 8d7fa62380..49a9cfdb65 100644
--- a/libavcodec/aactab.c
+++ b/libavcodec/aactab.c
@@ -1003,7 +1003,7 @@ static const uint16_t swb_offset_128_8[] = {
36, 44, 52, 60, 72, 88, 108, 128
};
-const uint16_t *ff_swb_offset_1024[] = {
+const uint16_t * const ff_swb_offset_1024[] = {
swb_offset_1024_96, swb_offset_1024_96, swb_offset_1024_64,
swb_offset_1024_48, swb_offset_1024_48, swb_offset_1024_32,
swb_offset_1024_24, swb_offset_1024_24, swb_offset_1024_16,
@@ -1011,7 +1011,7 @@ const uint16_t *ff_swb_offset_1024[] = {
swb_offset_1024_8
};
-const uint16_t *ff_swb_offset_128[] = {
+const uint16_t * const ff_swb_offset_128[] = {
/* The last entry on the following row is swb_offset_128_64 but is a
duplicate of swb_offset_128_96. */
swb_offset_128_96, swb_offset_128_96, swb_offset_128_96,