From: Eric Biggers Date: Sat, 6 Sep 2014 17:40:58 +0000 (-0500) Subject: Move XPRESS_TABLEBITS to xpress-decompress.c X-Git-Tag: v1.7.2~27 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=b0257a60d3e107a2b39603e3f7ad9cb6bc1e487d Move XPRESS_TABLEBITS to xpress-decompress.c --- diff --git a/include/wimlib/xpress.h b/include/wimlib/xpress.h index a7113153..2163c550 100644 --- a/include/wimlib/xpress.h +++ b/include/wimlib/xpress.h @@ -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 diff --git a/src/xpress-decompress.c b/src/xpress-decompress.c index 8d774109..05d0c491 100644 --- a/src/xpress-decompress.c +++ b/src/xpress-decompress.c @@ -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. *