qdm2: make a table static const

Signed-off-by: Mans Rullgard <mans@mansr.com>
pull/5/head
Mans Rullgard 13 years ago
parent 9ffe8ee7c5
commit 9f3e781eab
  1. 2
      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; ) {

Loading…
Cancel
Save