aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/stream_decoder.c
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/liblzma/common/stream_decoder.c
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 '')
-rw-r--r--src/liblzma/common/stream_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/stream_decoder.c b/src/liblzma/common/stream_decoder.c
index 7ed5c3af..66dfa778 100644
--- a/src/liblzma/common/stream_decoder.c
+++ b/src/liblzma/common/stream_decoder.c
@@ -200,7 +200,7 @@ stream_decode(lzma_coder *coder, lzma_allocator *allocator,
allocator, coder->buffer));
// Check the memory usage limit.
- const uint64_t memusage = lzma_memusage_decoder(filters);
+ const uint64_t memusage = lzma_raw_decoder_memusage(filters);
lzma_ret ret;
if (memusage == UINT64_MAX) {