aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/x86.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-09-17 22:42:18 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-09-17 22:42:18 +0300
commit177bdc922cb17bd0fd831ab8139dfae912a5c2b8 (patch)
tree9112ef3854225905b3d91db23195859d6b42492b /src/liblzma/simple/x86.c
parentTests: Add a test file for lzma_index_append() integer overflow bug. (diff)
downloadxz-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 '')
-rw-r--r--src/liblzma/simple/x86.c3
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;