diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-15 09:54:34 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-15 09:54:34 +0200 |
commit | 01b4b19f49f00e17a0f9cb8754c672ac0847b6e1 (patch) | |
tree | 00f5c222a343acf419ddeffc3256eac730f4e37f /src/liblzma | |
parent | Fix a typo in lzma_encoder.c. (diff) | |
download | xz-01b4b19f49f00e17a0f9cb8754c672ac0847b6e1.tar.xz |
Removed a few unused macros from lzma_common.h.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/lzma/lzma_common.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/liblzma/lzma/lzma_common.h b/src/liblzma/lzma/lzma_common.h index d4873cf8..60b1934c 100644 --- a/src/liblzma/lzma/lzma_common.h +++ b/src/liblzma/lzma/lzma_common.h @@ -57,11 +57,7 @@ #define FULL_DISTANCES (1 << (END_POS_MODEL_INDEX / 2)) -#define LIT_POS_STATES_BITS_MAX LZMA_LITERAL_POS_BITS_MAX -#define LIT_CONTEXT_BITS_MAX LZMA_LITERAL_CONTEXT_BITS_MAX - -#define POS_STATES_BITS_MAX LZMA_POS_BITS_MAX -#define POS_STATES_MAX (1 << POS_STATES_BITS_MAX) +#define POS_STATES_MAX (1 << LZMA_POS_BITS_MAX) // Length coder & Length price table encoder @@ -79,7 +75,7 @@ #define LEN_CODER_TOTAL_PROBS (LEN_HIGH_CODER + LEN_HIGH_SYMBOLS) // Price table size of Len Encoder -#define LEN_PRICES (LEN_SYMBOLS << POS_STATES_BITS_MAX) +#define LEN_PRICES (LEN_SYMBOLS << LZMA_POS_BITS_MAX) // Special lengths used together with distance == UINT32_MAX #define LEN_SPECIAL_EOPM MATCH_MIN_LEN |