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/lzma/lzma2_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/lzma/lzma2_decoder.c')
-rw-r--r-- | src/liblzma/lzma/lzma2_decoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liblzma/lzma/lzma2_decoder.c b/src/liblzma/lzma/lzma2_decoder.c index 105a28dc..567df490 100644 --- a/src/liblzma/lzma/lzma2_decoder.c +++ b/src/liblzma/lzma/lzma2_decoder.c @@ -226,7 +226,8 @@ lzma2_decoder_end(void *coder_ptr, const lzma_allocator *allocator) static lzma_ret lzma2_decoder_init(lzma_lz_decoder *lz, const lzma_allocator *allocator, - const void *opt, lzma_lz_options *lz_options) + lzma_vli id lzma_attribute((__unused__)), const void *opt, + lzma_lz_options *lz_options) { lzma_lzma2_coder *coder = lz->coder; if (coder == NULL) { |