diff options
Diffstat (limited to 'C/Lzma86Dec.c')
-rw-r--r-- | C/Lzma86Dec.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/C/Lzma86Dec.c b/C/Lzma86Dec.c index 2103174..f094d4c 100644 --- a/C/Lzma86Dec.c +++ b/C/Lzma86Dec.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Lzma86Dec.c -- LZMA + x86 (BCJ) Filter Decoder | 1 | /* Lzma86Dec.c -- LZMA + x86 (BCJ) Filter Decoder |
2 | 2016-05-16 : Igor Pavlov : Public domain */ | 2 | 2023-03-03 : Igor Pavlov : Public domain */ |
3 | 3 | ||
4 | #include "Precomp.h" | 4 | #include "Precomp.h" |
5 | 5 | ||
@@ -46,9 +46,8 @@ SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen) | |||
46 | return res; | 46 | return res; |
47 | if (useFilter == 1) | 47 | if (useFilter == 1) |
48 | { | 48 | { |
49 | UInt32 x86State; | 49 | UInt32 x86State = Z7_BRANCH_CONV_ST_X86_STATE_INIT_VAL; |
50 | x86_Convert_Init(x86State); | 50 | z7_BranchConvSt_X86_Dec(dest, *destLen, 0, &x86State); |
51 | x86_Convert(dest, *destLen, 0, &x86State, 0); | ||
52 | } | 51 | } |
53 | return SZ_OK; | 52 | return SZ_OK; |
54 | } | 53 | } |