diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index c7ecd33a8c..a73917a0b9 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -584,12 +584,12 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) /* init rv vlc */ if (!done) { - init_vlc(&rv_dc_lum, DC_VLC_BITS, 256, + INIT_VLC_STATIC(&rv_dc_lum, DC_VLC_BITS, 256, rv_lum_bits, 1, 1, - rv_lum_code, 2, 2, INIT_VLC_USE_STATIC); - init_vlc(&rv_dc_chrom, DC_VLC_BITS, 256, + rv_lum_code, 2, 2, 16384); + INIT_VLC_STATIC(&rv_dc_chrom, DC_VLC_BITS, 256, rv_chrom_bits, 1, 1, - rv_chrom_code, 2, 2, INIT_VLC_USE_STATIC); + rv_chrom_code, 2, 2, 16388); done = 1; }