Browse Source

qdm2: make a table static const

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.11
Mans Rullgard 13 years ago
parent
commit
9f3e781eab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/qdm2.c

+ 1
- 1
libavcodec/qdm2.c View File

@@ -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