From 0029cbbabe87d491fc046a55a629a6d556010baa Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 4 Jan 2008 21:30:33 +0200 Subject: Added support for flush marker, which will be in files that use LZMA_SYNC_FLUSH with encoder (not implemented yet). This is a new feature in the raw LZMA format, which isn't supported by old decoders. This shouldn't be a problem in practice, since lzma_alone_encoder() will not allow LZMA_SYNC_FLUSH, and thus not allow creating files on decodable with old decoders. Made lzma_decoder.c to require tab width of 4 characters if one wants to fit the code in 80 columns. This makes the code easier to read. --- src/liblzma/lzma/lzma_common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/liblzma/lzma/lzma_common.h') diff --git a/src/liblzma/lzma/lzma_common.h b/src/liblzma/lzma/lzma_common.h index 4ff59ae6..d4873cf8 100644 --- a/src/liblzma/lzma/lzma_common.h +++ b/src/liblzma/lzma/lzma_common.h @@ -81,6 +81,10 @@ // Price table size of Len Encoder #define LEN_PRICES (LEN_SYMBOLS << POS_STATES_BITS_MAX) +// Special lengths used together with distance == UINT32_MAX +#define LEN_SPECIAL_EOPM MATCH_MIN_LEN +#define LEN_SPECIAL_FLUSH (LEN_SPECIAL_EOPM + 1) + // Optimal - Number of entries in the optimum array. #define OPTS (1 << 12) -- cgit v1.2.3