liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().
It read the filter chain from a wrong variable. This is a similar
bug that was fixed in 9494fb6d0f
.
This commit is contained in:
parent
230fa4a605
commit
7716dcf9df
|
@ -1095,8 +1095,7 @@ lzma_stream_encoder_mt_memusage(const lzma_mt *options)
|
|||
const uint64_t inbuf_memusage = options->threads * block_size;
|
||||
|
||||
// Memory usage of the filter encoders
|
||||
uint64_t filters_memusage
|
||||
= lzma_raw_encoder_memusage(options->filters);
|
||||
uint64_t filters_memusage = lzma_raw_encoder_memusage(filters);
|
||||
if (filters_memusage == UINT64_MAX)
|
||||
return UINT64_MAX;
|
||||
|
||||
|
|
Loading…
Reference in New Issue