diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-27 18:20:33 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-27 18:20:33 +0200 |
commit | 218394958c7683f892275bb40eae880620feebcc (patch) | |
tree | d21f20359b49097fde9e13f34dcb3c0d2bee51e5 /src/liblzma/common/microlzma_decoder.c | |
parent | liblzma: Remove two FIXME comments. (diff) | |
download | xz-218394958c7683f892275bb40eae880620feebcc.tar.xz |
liblzma: Pass the Filter ID to LZ encoder and decoder.
This allows using two Filter IDs with the same
initialization function and data structures.
Diffstat (limited to 'src/liblzma/common/microlzma_decoder.c')
-rw-r--r-- | src/liblzma/common/microlzma_decoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/microlzma_decoder.c b/src/liblzma/common/microlzma_decoder.c index d6337816..ba2f10ad 100644 --- a/src/liblzma/common/microlzma_decoder.c +++ b/src/liblzma/common/microlzma_decoder.c @@ -95,6 +95,7 @@ microlzma_decode(void *coder_ptr, const lzma_allocator *allocator, options.dict_size = coder->dict_size; lzma_filter_info filters[2] = { { + .id = LZMA_FILTER_LZMA1, .init = &lzma_lzma_decoder_init, .options = &options, }, { |