comparison 4xm.c @ 9398:e0be7b3d5aeb libavcodec

Get rid of INIT_VLC_USE_STATIC in 4xm.
author michael
date Sat, 11 Apr 2009 13:43:09 +0000
parents 25b3650b4db5
children 5a738e8f9524
comparison
equal deleted inserted replaced
9397:0fa22c289cb2 9398:e0be7b3d5aeb
235 block[3 + i] = (tmp3 - tmp4)>>6; 235 block[3 + i] = (tmp3 - tmp4)>>6;
236 } 236 }
237 } 237 }
238 238
239 static av_cold void init_vlcs(FourXContext *f){ 239 static av_cold void init_vlcs(FourXContext *f){
240 static VLC_TYPE table[8][32][2];
240 int i; 241 int i;
241 242
242 for(i=0; i<8; i++){ 243 for(i=0; i<8; i++){
244 block_type_vlc[0][i].table= table[i];
245 block_type_vlc[0][i].table_allocated= 32;
243 init_vlc(&block_type_vlc[0][i], BLOCK_TYPE_VLC_BITS, 7, 246 init_vlc(&block_type_vlc[0][i], BLOCK_TYPE_VLC_BITS, 7,
244 &block_type_tab[0][i][0][1], 2, 1, 247 &block_type_tab[0][i][0][1], 2, 1,
245 &block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_STATIC); 248 &block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_NEW_STATIC);
246 } 249 }
247 } 250 }
248 251
249 static void init_mv(FourXContext *f){ 252 static void init_mv(FourXContext *f){
250 int i; 253 int i;