# HG changeset patch # User michael # Date 1239457389 0 # Node ID e0be7b3d5aeb000aaaf7f8370bc4260898a1d593 # Parent 0fa22c289cb287aada64730d40c5272b071a3f09 Get rid of INIT_VLC_USE_STATIC in 4xm. diff -r 0fa22c289cb2 -r e0be7b3d5aeb 4xm.c --- a/4xm.c Sat Apr 11 13:40:39 2009 +0000 +++ b/4xm.c Sat Apr 11 13:43:09 2009 +0000 @@ -237,12 +237,15 @@ } static av_cold void init_vlcs(FourXContext *f){ + static VLC_TYPE table[8][32][2]; int 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, &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); } }