aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-09-26 18:10:31 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-09-26 18:10:31 +0300
commit075257ab0416a0603be930082e31a5703e4ba345 (patch)
tree2aa11a5532dde222d22ed05aea37fd7a3ea19b33 /src
parentAdd translations.bash and translation notes to README. (diff)
downloadxz-075257ab0416a0603be930082e31a5703e4ba345.tar.xz
Fix the preset -3e.
depth=0 was missing.
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/lzma/lzma_encoder_presets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/lzma/lzma_encoder_presets.c b/src/liblzma/lzma/lzma_encoder_presets.c
index 5c7dfcd0..21e427a8 100644
--- a/src/liblzma/lzma/lzma_encoder_presets.c
+++ b/src/liblzma/lzma/lzma_encoder_presets.c
@@ -50,6 +50,7 @@ lzma_lzma_preset(lzma_options_lzma *options, uint32_t preset)
options->mf = LZMA_MF_BT4;
if (level == 3 || level == 5) {
options->nice_len = 192;
+ options->depth = 0;
} else {
options->nice_len = 273;
options->depth = 512;