aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-12-01 22:55:18 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-12-01 22:55:18 +0200
commitc58f469be5bb9b0bdab825c6687445fd553f4f3a (patch)
treed143331f465c5f86e16cb9dbcd3f07cc0fa8d7a6
parentLZMA2 decoder cleanups. Make it require new LZMA properties (diff)
downloadxz-c58f469be5bb9b0bdab825c6687445fd553f4f3a.tar.xz
Added the changes for Delta filter that should have been
part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
-rw-r--r--src/liblzma/common/filter_decoder.c2
-rw-r--r--src/liblzma/common/filter_encoder.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/filter_decoder.c b/src/liblzma/common/filter_decoder.c
index 241b272d..c969a554 100644
--- a/src/liblzma/common/filter_decoder.c
+++ b/src/liblzma/common/filter_decoder.c
@@ -133,7 +133,7 @@ static const lzma_filter_decoder decoders[] = {
{
.id = LZMA_FILTER_DELTA,
.init = &lzma_delta_decoder_init,
- .memusage = NULL,
+ .memusage = &lzma_delta_coder_memusage,
.props_decode = &lzma_delta_props_decode,
},
#endif
diff --git a/src/liblzma/common/filter_encoder.c b/src/liblzma/common/filter_encoder.c
index a839fe70..c9d6b91e 100644
--- a/src/liblzma/common/filter_encoder.c
+++ b/src/liblzma/common/filter_encoder.c
@@ -159,7 +159,7 @@ static const lzma_filter_encoder encoders[] = {
{
.id = LZMA_FILTER_DELTA,
.init = &lzma_delta_encoder_init,
- .memusage = NULL,
+ .memusage = &lzma_delta_coder_memusage,
.chunk_size = NULL,
.props_size_get = NULL,
.props_size_fixed = 1,