aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-04-11 13:03:25 +0100
committerMans Rullgard <mans@mansr.com>2012-04-12 10:59:23 +0100
commit9f3e781eabfe85e8bfbbdc97dc581d79c24ea99d (patch)
tree1a67afb5bb5c9a83e1a7af50ad2afd6134087bda /libavcodec
parent9ffe8ee7c561875f854c5938d42cf74fa796d7f4 (diff)
downloadffmpeg-9f3e781eabfe85e8bfbbdc97dc581d79c24ea99d.tar.gz
qdm2: make a table static const
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/qdm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index b236977fa6..8d9d281f5d 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -499,7 +499,7 @@ static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_
int j,k;
int ch;
int run, case_val;
- int switchtable[23] = {0,5,1,5,5,5,5,5,2,5,5,5,5,5,5,5,3,5,5,5,5,5,4};
+ static const int switchtable[23] = {0,5,1,5,5,5,5,5,2,5,5,5,5,5,5,5,3,5,5,5,5,5,4};
for (ch = 0; ch < channels; ch++) {
for (j = 0; j < 64; ) {