comparison h261dec.c @ 9400:0a18297bc905 libavcodec

get rid of INIT_VLC_USE_STATIC in h261.
author michael
date Sat, 11 Apr 2009 13:58:18 +0000
parents 25b3650b4db5
children c78fd9154378
comparison
equal deleted inserted replaced
9399:f4583123072a 9400:0a18297bc905
51 static av_cold void h261_decode_init_vlc(H261Context *h){ 51 static av_cold void h261_decode_init_vlc(H261Context *h){
52 static int done = 0; 52 static int done = 0;
53 53
54 if(!done){ 54 if(!done){
55 done = 1; 55 done = 1;
56 init_vlc(&h261_mba_vlc, H261_MBA_VLC_BITS, 35, 56 INIT_VLC_STATIC(&h261_mba_vlc, H261_MBA_VLC_BITS, 35,
57 h261_mba_bits, 1, 1, 57 h261_mba_bits, 1, 1,
58 h261_mba_code, 1, 1, INIT_VLC_USE_STATIC); 58 h261_mba_code, 1, 1, 662);
59 init_vlc(&h261_mtype_vlc, H261_MTYPE_VLC_BITS, 10, 59 INIT_VLC_STATIC(&h261_mtype_vlc, H261_MTYPE_VLC_BITS, 10,
60 h261_mtype_bits, 1, 1, 60 h261_mtype_bits, 1, 1,
61 h261_mtype_code, 1, 1, INIT_VLC_USE_STATIC); 61 h261_mtype_code, 1, 1, 80);
62 init_vlc(&h261_mv_vlc, H261_MV_VLC_BITS, 17, 62 INIT_VLC_STATIC(&h261_mv_vlc, H261_MV_VLC_BITS, 17,
63 &h261_mv_tab[0][1], 2, 1, 63 &h261_mv_tab[0][1], 2, 1,
64 &h261_mv_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); 64 &h261_mv_tab[0][0], 2, 1, 144);
65 init_vlc(&h261_cbp_vlc, H261_CBP_VLC_BITS, 63, 65 INIT_VLC_STATIC(&h261_cbp_vlc, H261_CBP_VLC_BITS, 63,
66 &h261_cbp_tab[0][1], 2, 1, 66 &h261_cbp_tab[0][1], 2, 1,
67 &h261_cbp_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); 67 &h261_cbp_tab[0][0], 2, 1, 512);
68 init_rl(&h261_rl_tcoeff, ff_h261_rl_table_store); 68 init_rl(&h261_rl_tcoeff, ff_h261_rl_table_store);
69 INIT_VLC_RL(h261_rl_tcoeff, 552); 69 INIT_VLC_RL(h261_rl_tcoeff, 552);
70 } 70 }
71 } 71 }
72 72