diff options
Diffstat (limited to 'src/liblzma/api')
-rw-r--r-- | src/liblzma/api/lzma/lzma.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/liblzma/api/lzma/lzma.h b/src/liblzma/api/lzma/lzma.h index da0bb52d..9473f448 100644 --- a/src/liblzma/api/lzma/lzma.h +++ b/src/liblzma/api/lzma/lzma.h @@ -167,7 +167,7 @@ typedef struct { */ uint32_t literal_context_bits; # define LZMA_LITERAL_CONTEXT_BITS_MIN 0 -# define LZMA_LITERAL_CONTEXT_BITS_MAX 8 +# define LZMA_LITERAL_CONTEXT_BITS_MAX 4 # define LZMA_LITERAL_CONTEXT_BITS_DEFAULT 3 /** @@ -279,6 +279,14 @@ typedef struct { /** + * \brief Maximum sum of literal_context_bits and literal_pos_bits + * + * literal_context_bits + literal_pos_bits <= LZMA_LITERAL_BITS_MAX + */ +#define LZMA_LITERAL_BITS_MAX 4 + + +/** * \brief Available LZMA encoding modes * * Pointer to an array containing the list of available encoding modes. |