aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-01-17 14:24:25 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-01-17 14:24:25 +0200
commit128586213f77c9bd82b7e9a62927f6d0c3769d85 (patch)
tree8ba0f622dfead2768646f6f38990e3ae0b52fba2 /src/xz
parentUpdated THANKS. (diff)
downloadxz-128586213f77c9bd82b7e9a62927f6d0c3769d85.tar.xz
Beta was supposed to be API stable but I had forgot to rename
lzma_memlimit_encoder and lzma_memlimit_decoder to lzma_raw_encoder_memlimit and lzma_raw_decoder_memlimit. :-( Now it is fixed. Hopefully it doesn't cause too much trouble to those who already thought API is stable.
Diffstat (limited to 'src/xz')
-rw-r--r--src/xz/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xz/process.c b/src/xz/process.c
index e6870f81..59c19cd2 100644
--- a/src/xz/process.c
+++ b/src/xz/process.c
@@ -158,10 +158,10 @@ coder_set_compression_settings(void)
uint64_t memory_usage;
uint64_t memory_limit;
if (opt_mode == MODE_COMPRESS) {
- memory_usage = lzma_memusage_encoder(filters);
+ memory_usage = lzma_raw_encoder_memusage(filters);
memory_limit = hardware_memlimit_encoder();
} else {
- memory_usage = lzma_memusage_decoder(filters);
+ memory_usage = lzma_raw_decoder_memusage(filters);
memory_limit = hardware_memlimit_decoder();
}
@@ -212,7 +212,7 @@ coder_set_compression_settings(void)
if (opt->dict_size < (UINT32_C(1) << 20))
memlimit_too_small(memory_usage, memory_limit);
- memory_usage = lzma_memusage_encoder(filters);
+ memory_usage = lzma_raw_encoder_memusage(filters);
if (memory_usage == UINT64_MAX)
message_bug();