From c58f469be5bb9b0bdab825c6687445fd553f4f3a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 1 Dec 2008 22:55:18 +0200 Subject: Added the changes for Delta filter that should have been part of 656ec87882ee74b192c4ea4a233a235eca7b04d4. --- src/liblzma/common/filter_decoder.c | 2 +- src/liblzma/common/filter_encoder.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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, -- cgit v1.2.3