aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-11 13:53:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-11 13:53:34 +0000
commit76ac719888c1bdea7251238cb4cec9e06ead5653 (patch)
tree91002950b8ab746dbfcfa26260ba48bd9d66bad6 /libavcodec/rv10.c
parent2a0241ae12c7187a42dd039dc438844a63589634 (diff)
downloadffmpeg-76ac719888c1bdea7251238cb4cec9e06ead5653.tar.gz
Get rid of INIT_VLC_USE_STATIC in rv10/rv20.
Originally committed as revision 18436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c8
1 files changed, 4 insertions, 4 deletions
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;
}