Commit 9f3e781e authored by Mans Rullgard's avatar Mans Rullgard

qdm2: make a table static const

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 9ffe8ee7
...@@ -499,7 +499,7 @@ static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_ ...@@ -499,7 +499,7 @@ static void fix_coding_method_array (int sb, int channels, sb_int8_array coding_
int j,k; int j,k;
int ch; int ch;
int run, case_val; 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 (ch = 0; ch < channels; ch++) {
for (j = 0; j < 64; ) { for (j = 0; j < 64; ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment