1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Added the changes for Delta filter that should have been

part of 656ec87882.
This commit is contained in:
Lasse Collin 2008-12-01 22:55:18 +02:00
parent cd70801520
commit c58f469be5
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ static const lzma_filter_decoder decoders[] = {
{ {
.id = LZMA_FILTER_DELTA, .id = LZMA_FILTER_DELTA,
.init = &lzma_delta_decoder_init, .init = &lzma_delta_decoder_init,
.memusage = NULL, .memusage = &lzma_delta_coder_memusage,
.props_decode = &lzma_delta_props_decode, .props_decode = &lzma_delta_props_decode,
}, },
#endif #endif

View file

@ -159,7 +159,7 @@ static const lzma_filter_encoder encoders[] = {
{ {
.id = LZMA_FILTER_DELTA, .id = LZMA_FILTER_DELTA,
.init = &lzma_delta_encoder_init, .init = &lzma_delta_encoder_init,
.memusage = NULL, .memusage = &lzma_delta_coder_memusage,
.chunk_size = NULL, .chunk_size = NULL,
.props_size_get = NULL, .props_size_get = NULL,
.props_size_fixed = 1, .props_size_fixed = 1,