summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma/wmadeci.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwma/wmadeci.c')
-rw-r--r--apps/codecs/libwma/wmadeci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c
index 6837456af1..cf95f9c2fa 100644
--- a/apps/codecs/libwma/wmadeci.c
+++ b/apps/codecs/libwma/wmadeci.c
@@ -144,7 +144,7 @@ static void init_coef_vlc(VLC *vlc,
144 int i, l, j, level; 144 int i, l, j, level;
145 145
146 146
147 init_vlc(vlc, VLCBITS, n, table_bits, 1, 1, table_codes, 4, 4, 0); 147 init_vlc(vlc, VLCBITS, n, table_bits, 1, 1, table_codes, 4, 4, INIT_VLC_USE_NEW_STATIC);
148 148
149 run_table = runtabarray[tab]; 149 run_table = runtabarray[tab];
150 level_table= levtabarray[tab]; 150 level_table= levtabarray[tab];
@@ -522,7 +522,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
522 s->hgain_vlc.table_allocated = VLCBUF4SIZE; 522 s->hgain_vlc.table_allocated = VLCBUF4SIZE;
523 init_vlc(&s->hgain_vlc, HGAINVLCBITS, sizeof(hgain_huffbits), 523 init_vlc(&s->hgain_vlc, HGAINVLCBITS, sizeof(hgain_huffbits),
524 hgain_huffbits, 1, 1, 524 hgain_huffbits, 1, 1,
525 hgain_huffcodes, 2, 2, 0); 525 hgain_huffcodes, 2, 2, INIT_VLC_USE_NEW_STATIC);
526 } 526 }
527 527
528 if (s->use_exp_vlc) 528 if (s->use_exp_vlc)
@@ -533,7 +533,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
533 533
534 init_vlc(&s->exp_vlc, EXPVLCBITS, sizeof(scale_huffbits), 534 init_vlc(&s->exp_vlc, EXPVLCBITS, sizeof(scale_huffbits),
535 scale_huffbits, 1, 1, 535 scale_huffbits, 1, 1,
536 scale_huffcodes, 4, 4, 0); 536 scale_huffcodes, 4, 4, INIT_VLC_USE_NEW_STATIC);
537 } 537 }
538 else 538 else
539 { 539 {