diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-17 22:42:18 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-17 22:42:18 +0300 |
commit | 177bdc922cb17bd0fd831ab8139dfae912a5c2b8 (patch) | |
tree | 9112ef3854225905b3d91db23195859d6b42492b /src/liblzma/simple/x86.c | |
parent | Tests: Add a test file for lzma_index_append() integer overflow bug. (diff) | |
download | xz-177bdc922cb17bd0fd831ab8139dfae912a5c2b8.tar.xz |
liblzma: Simple/BCJ filters: Allow disabling generic BCJ options.
This will be needed for the ARM64 BCJ filter as it will use
its own options struct.
Diffstat (limited to 'src/liblzma/simple/x86.c')
-rw-r--r-- | src/liblzma/simple/x86.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liblzma/simple/x86.c b/src/liblzma/simple/x86.c index 0e78909c..0e682922 100644 --- a/src/liblzma/simple/x86.c +++ b/src/liblzma/simple/x86.c @@ -128,7 +128,8 @@ x86_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters, bool is_encoder) { const lzma_ret ret = lzma_simple_coder_init(next, allocator, filters, - &x86_code, sizeof(lzma_simple_x86), 5, 1, is_encoder); + &x86_code, sizeof(lzma_simple_x86), 5, 1, is_encoder, + true); if (ret == LZMA_OK) { lzma_simple_coder *coder = next->coder; |