diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-03-10 15:57:55 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-03-10 15:57:55 +0200 |
commit | 5ead36cf7f823093672a4e43c3180b38c9abbaff (patch) | |
tree | 5e6de27cc7c9ad424bc11b4ba46ea1c385da8ada | |
parent | Updated THANKS. (diff) | |
download | xz-5ead36cf7f823093672a4e43c3180b38c9abbaff.tar.xz |
Really fix the price count initialization.
-rw-r--r-- | src/liblzma/lzma/lzma_encoder_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/lzma/lzma_encoder_init.c b/src/liblzma/lzma/lzma_encoder_init.c index d5dd9e7b..bbe3de7a 100644 --- a/src/liblzma/lzma/lzma_encoder_init.c +++ b/src/liblzma/lzma/lzma_encoder_init.c @@ -136,8 +136,8 @@ lzma_lzma_encoder_init(lzma_next_coder *next, lzma_allocator *allocator, } // Misc FIXME desc - next->coder->align_price_count = 0; - next->coder->match_price_count = 0; + next->coder->align_price_count = UINT32_MAX; + next->coder->match_price_count = UINT32_MAX; next->coder->dictionary_size = options->dictionary_size; next->coder->pos_mask = (1U << options->pos_bits) - 1; next->coder->fast_bytes = options->fast_bytes; |