diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-12-01 22:55:18 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-12-01 22:55:18 +0200 |
commit | c58f469be5bb9b0bdab825c6687445fd553f4f3a (patch) | |
tree | d143331f465c5f86e16cb9dbcd3f07cc0fa8d7a6 /src | |
parent | LZMA2 decoder cleanups. Make it require new LZMA properties (diff) | |
download | xz-c58f469be5bb9b0bdab825c6687445fd553f4f3a.tar.xz |
Added the changes for Delta filter that should have been
part of 656ec87882ee74b192c4ea4a233a235eca7b04d4.
Diffstat (limited to 'src')
-rw-r--r-- | src/liblzma/common/filter_decoder.c | 2 | ||||
-rw-r--r-- | src/liblzma/common/filter_encoder.c | 2 |
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, |