[FFmpeg-soc] [soc]: r2576 - mlp/mlpdec.c

ramiro subversion at mplayerhq.hu
Thu Jun 26 00:55:02 CEST 2008


Author: ramiro
Date: Thu Jun 26 00:55:02 2008
New Revision: 2576

Log:
New static VLC tables initialization.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Thu Jun 26 00:55:02 2008
@@ -213,15 +213,15 @@ static AVCRC crc_1D[1024];
 static void init_static()
 {
     if (!huff_vlc[0].bits) {
-        init_vlc(&huff_vlc[0], VLC_BITS, 18,
+        INIT_VLC_STATIC(&huff_vlc[0], VLC_BITS, 18,
                  &huffman_tables[0][0][1], 2, 1,
-                 &huffman_tables[0][0][0], 2, 1, 1);
-        init_vlc(&huff_vlc[1], VLC_BITS, 16,
+                 &huffman_tables[0][0][0], 2, 1, 512);
+        INIT_VLC_STATIC(&huff_vlc[1], VLC_BITS, 16,
                  &huffman_tables[1][0][1], 2, 1,
-                 &huffman_tables[1][0][0], 2, 1, 1);
-        init_vlc(&huff_vlc[2], VLC_BITS, 15,
+                 &huffman_tables[1][0][0], 2, 1, 512);
+        INIT_VLC_STATIC(&huff_vlc[2], VLC_BITS, 15,
                  &huffman_tables[2][0][1], 2, 1,
-                 &huffman_tables[2][0][0], 2, 1, 1);
+                 &huffman_tables[2][0][0], 2, 1, 512);
 
         av_crc_init(crc_63, 0,  8,   0x63, sizeof(crc_63));
         av_crc_init(crc_1D, 0,  8,   0x1D, sizeof(crc_1D));



More information about the FFmpeg-soc mailing list