X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=inline;f=include%2Fwimlib%2Flzx_constants.h;h=49cf8fafe4b59e471e31af0ac32e2a0a75c91a9e;hb=93110bb18090d4d2c00294a56f819c7edeef318f;hp=36e812d8b80090c1054fd11a7a2a1cfe5f60a2c2;hpb=f217a34cf5fecfd91b10395f9165a7ae9570c4aa;p=wimlib diff --git a/include/wimlib/lzx_constants.h b/include/wimlib/lzx_constants.h index 36e812d8..49cf8faf 100644 --- a/include/wimlib/lzx_constants.h +++ b/include/wimlib/lzx_constants.h @@ -24,9 +24,9 @@ * + LZX_MIN_MATCH_LEN, and a length symbol follows. */ #define LZX_NUM_PRIMARY_LENS 7 -/* Maximum number of position slots. The actual number of position slots will +/* Maximum number of offset slots. The actual number of offset slots will * depend on the window size. */ -#define LZX_MAX_POSITION_SLOTS 51 +#define LZX_MAX_OFFSET_SLOTS 51 #define LZX_MIN_WINDOW_ORDER 15 #define LZX_MAX_WINDOW_ORDER 21 @@ -35,7 +35,7 @@ /* Maximum number of symbols in the main code. The actual number of symbols in * the main code will depend on the window size. */ -#define LZX_MAINCODE_MAX_NUM_SYMBOLS (LZX_NUM_CHARS + (LZX_MAX_POSITION_SLOTS << 3)) +#define LZX_MAINCODE_MAX_NUM_SYMBOLS (LZX_NUM_CHARS + (LZX_MAX_OFFSET_SLOTS << 3)) /* Number of symbols in the length code. */ #define LZX_LENCODE_NUM_SYMBOLS 249