]> wimlib.net Git - wimlib/commitdiff
Move XPRESS_TABLEBITS to xpress-decompress.c
authorEric Biggers <ebiggers3@gmail.com>
Sat, 6 Sep 2014 17:40:58 +0000 (12:40 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 6 Sep 2014 17:40:58 +0000 (12:40 -0500)
include/wimlib/xpress.h
src/xpress-decompress.c

index a7113153ded1ea7d6aa498c1449c97a28ab1a1af..2163c550da7e493b54c084a5beff4a9685cfaaf1 100644 (file)
@@ -7,7 +7,6 @@
 #define XPRESS_NUM_CHARS       256
 #define XPRESS_NUM_SYMBOLS     512
 #define XPRESS_MAX_CODEWORD_LEN        15
-#define XPRESS_TABLEBITS       12
 
 #define XPRESS_END_OF_DATA     256
 
index 8d7741090dbae4519f9c97ccfb43c77836110b10..05d0c4915b4e69267ddb2471bbc4761e07701eff 100644 (file)
@@ -74,6 +74,9 @@
 #include "wimlib/error.h"
 #include "wimlib/xpress.h"
 
+/* This value is chosen for fast decompression.  */
+#define XPRESS_TABLEBITS 12
+
 /*
  * Decodes a symbol @sym that begins an XPRESS match.
  *