Mercurial > libavcodec.hg
comparison h261dec.c @ 9393:25b3650b4db5 libavcodec
Use INIT_VLC_USE_STATIC and not its value "1".
author | cehoyos |
---|---|
date | Sat, 11 Apr 2009 11:47:15 +0000 |
parents | 54bc8a2727b0 |
children | 0a18297bc905 |
comparison
equal
deleted
inserted
replaced
9392:a5bc2084bd6a | 9393:25b3650b4db5 |
---|---|
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(&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, 1); | 58 h261_mba_code, 1, 1, INIT_VLC_USE_STATIC); |
59 init_vlc(&h261_mtype_vlc, H261_MTYPE_VLC_BITS, 10, | 59 init_vlc(&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, 1); | 61 h261_mtype_code, 1, 1, INIT_VLC_USE_STATIC); |
62 init_vlc(&h261_mv_vlc, H261_MV_VLC_BITS, 17, | 62 init_vlc(&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, 1); | 64 &h261_mv_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
65 init_vlc(&h261_cbp_vlc, H261_CBP_VLC_BITS, 63, | 65 init_vlc(&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, 1); | 67 &h261_cbp_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
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 |