Commit 2a0241ae authored by Michael Niedermayer's avatar Michael Niedermayer

Get rid of INIT_VLC_USE_STATIC in 4xm.

Originally committed as revision 18435 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5338bec6
...@@ -237,12 +237,15 @@ static void idct(DCTELEM block[64]){ ...@@ -237,12 +237,15 @@ static void idct(DCTELEM block[64]){
} }
static av_cold void init_vlcs(FourXContext *f){ static av_cold void init_vlcs(FourXContext *f){
static VLC_TYPE table[8][32][2];
int i; int i;
for(i=0; i<8; i++){ for(i=0; i<8; i++){
block_type_vlc[0][i].table= table[i];
block_type_vlc[0][i].table_allocated= 32;
init_vlc(&block_type_vlc[0][i], BLOCK_TYPE_VLC_BITS, 7, init_vlc(&block_type_vlc[0][i], BLOCK_TYPE_VLC_BITS, 7,
&block_type_tab[0][i][0][1], 2, 1, &block_type_tab[0][i][0][1], 2, 1,
&block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_STATIC); &block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_NEW_STATIC);
} }
} }
......
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