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,