[FFmpeg-cvslog] r18436 - trunk/libavcodec/rv10.c

michael subversion
Sat Apr 11 15:53:34 CEST 2009


Author: michael
Date: Sat Apr 11 15:53:34 2009
New Revision: 18436

Log:
Get rid of INIT_VLC_USE_STATIC in rv10/rv20.

Modified:
   trunk/libavcodec/rv10.c

Modified: trunk/libavcodec/rv10.c
==============================================================================
--- trunk/libavcodec/rv10.c	Sat Apr 11 15:43:09 2009	(r18435)
+++ trunk/libavcodec/rv10.c	Sat Apr 11 15:53:34 2009	(r18436)
@@ -584,12 +584,12 @@ static av_cold int rv10_decode_init(AVCo
 
     /* 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;
     }
 



More information about the ffmpeg-cvslog mailing list