aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/liblzma/lzma/lzma_encoder_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liblzma/lzma/lzma_encoder_init.c b/src/liblzma/lzma/lzma_encoder_init.c
index 306cea8c..c925f811 100644
--- a/src/liblzma/lzma/lzma_encoder_init.c
+++ b/src/liblzma/lzma/lzma_encoder_init.c
@@ -181,6 +181,8 @@ lzma_lzma_encoder_init(lzma_next_coder *next, lzma_allocator *allocator,
1U << options->pos_bits,
next->coder->fast_bytes + 1 - MATCH_MIN_LEN);
+ next->coder->prev_len_encoder = NULL;
+
// Misc
next->coder->longest_match_was_found = false;
next->coder->optimum_end_index = 0;