projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d7feb
)
Really fix the price count initialization.
author
Lasse Collin
<lasse.collin@tukaani.org>
Mon, 10 Mar 2008 13:57:55 +0000
(15:57 +0200)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Mon, 10 Mar 2008 13:57:55 +0000
(15:57 +0200)
src/liblzma/lzma/lzma_encoder_init.c
patch
|
blob
|
history
diff --git
a/src/liblzma/lzma/lzma_encoder_init.c
b/src/liblzma/lzma/lzma_encoder_init.c
index
d5dd9e7
..
bbe3de7
100644
(file)
--- 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;