Mercurial > libavcodec.hg
comparison h261dec.c @ 6940:778ecab25dd8 libavcodec
Change init_vlc_rl() so it does not use *alloc_static() anymore.
author | michael |
---|---|
date | Fri, 30 May 2008 21:08:41 +0000 |
parents | a4104482ceef |
children | e943e1409077 |
comparison
equal
deleted
inserted
replaced
6939:213852a36370 | 6940:778ecab25dd8 |
---|---|
64 &h261_mv_tab[0][0], 2, 1, 1); | 64 &h261_mv_tab[0][0], 2, 1, 1); |
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, 1); |
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, 1); | 69 INIT_VLC_RL(h261_rl_tcoeff, 552); |
70 } | 70 } |
71 } | 71 } |
72 | 72 |
73 static av_cold int h261_decode_init(AVCodecContext *avctx){ | 73 static av_cold int h261_decode_init(AVCodecContext *avctx){ |
74 H261Context *h= avctx->priv_data; | 74 H261Context *h= avctx->priv_data; |