changeset 9399:f4583123072a libavcodec

Get rid of INIT_VLC_USE_STATIC in rv10/rv20.
author michael
date Sat, 11 Apr 2009 13:53:34 +0000
parents e0be7b3d5aeb
children 0a18297bc905
files rv10.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rv10.c	Sat Apr 11 13:43:09 2009 +0000
+++ b/rv10.c	Sat Apr 11 13:53:34 2009 +0000
@@ -584,12 +584,12 @@
 
     /* 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;
     }