mirror of
https://git.tukaani.org/xz.git
synced 2025-02-23 08:58:31 +00:00
Really fix the price count initialization.
This commit is contained in:
parent
d4d7feb83d
commit
5ead36cf7f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user