diff options
Diffstat (limited to 'libavcodec/h261.c')
-rw-r--r-- | libavcodec/h261.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c index 87ac6706d6..4286129dff 100644 --- a/libavcodec/h261.c +++ b/libavcodec/h261.c @@ -282,7 +282,7 @@ void ff_h261_encode_init(MpegEncContext *s){ if (!done) { done = 1; - init_rl(&h261_rl_tcoeff); + init_rl(&h261_rl_tcoeff, 1); } s->min_qcoeff= -127; @@ -372,7 +372,7 @@ static VLC h261_mtype_vlc; static VLC h261_mv_vlc; static VLC h261_cbp_vlc; -void init_vlc_rl(RLTable *rl); +void init_vlc_rl(RLTable *rl, int use_static); static void h261_decode_init_vlc(H261Context *h){ static int done = 0; @@ -381,18 +381,18 @@ static void h261_decode_init_vlc(H261Context *h){ done = 1; init_vlc(&h261_mba_vlc, H261_MBA_VLC_BITS, 35, h261_mba_bits, 1, 1, - h261_mba_code, 1, 1); + h261_mba_code, 1, 1, 1); init_vlc(&h261_mtype_vlc, H261_MTYPE_VLC_BITS, 10, h261_mtype_bits, 1, 1, - h261_mtype_code, 1, 1); + h261_mtype_code, 1, 1, 1); init_vlc(&h261_mv_vlc, H261_MV_VLC_BITS, 17, &h261_mv_tab[0][1], 2, 1, - &h261_mv_tab[0][0], 2, 1); + &h261_mv_tab[0][0], 2, 1, 1); init_vlc(&h261_cbp_vlc, H261_CBP_VLC_BITS, 63, &h261_cbp_tab[0][1], 2, 1, - &h261_cbp_tab[0][0], 2, 1); - init_rl(&h261_rl_tcoeff); - init_vlc_rl(&h261_rl_tcoeff); + &h261_cbp_tab[0][0], 2, 1, 1); + init_rl(&h261_rl_tcoeff, 1); + init_vlc_rl(&h261_rl_tcoeff, 1); } } |