diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-04 21:30:33 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-04 21:30:33 +0200 |
commit | 0029cbbabe87d491fc046a55a629a6d556010baa (patch) | |
tree | a0cb4a6c3afbe8d0b42a78dca929cf16e468ddbe /src/liblzma/lzma/lzma_common.h | |
parent | Moved range decoder initialization (reading the first (diff) | |
download | xz-0029cbbabe87d491fc046a55a629a6d556010baa.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/lzma/lzma_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) |