Added option '--cpr-lzma-ds=XX'.

This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-19 18:50:35 +01:00
parent 75b7e7260f
commit ffe1287016
4 changed files with 47 additions and 31 deletions
+2 -1
View File
@@ -191,10 +191,11 @@ bool Packer::compress(upx_bytep in, upx_bytep out,
}
if (M_IS_LZMA(ph.method))
{
// info: these are optional assignments which query OptVar::is_set
// NOTE: these are _optional_ assignments which query OptVar::is_set !
cconf.conf_lzma.pos_bits = opt->crp.crp_lzma.pos_bits;
cconf.conf_lzma.lit_pos_bits = opt->crp.crp_lzma.lit_pos_bits;
cconf.conf_lzma.lit_context_bits = opt->crp.crp_lzma.lit_context_bits;
cconf.conf_lzma.dict_size = opt->crp.crp_lzma.dict_size;
cconf.conf_lzma.num_fast_bytes = opt->crp.crp_lzma.num_fast_bytes;
}
if (uip->ui_pass >= 0)