mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-30 16:42:13 +02:00
qdm2: make a table static const
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
9ffe8ee7c5
commit
9f3e781eab
@ -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…
Reference in New Issue
Block a user