aboutsummaryrefslogtreecommitdiff
path: root/C/Lzma86Enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'C/Lzma86Enc.c')
-rw-r--r--C/Lzma86Enc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/C/Lzma86Enc.c b/C/Lzma86Enc.c
index 14fcd65..0cdde1c 100644
--- a/C/Lzma86Enc.c
+++ b/C/Lzma86Enc.c
@@ -1,5 +1,5 @@
1/* Lzma86Enc.c -- LZMA + x86 (BCJ) Filter Encoder 1/* Lzma86Enc.c -- LZMA + x86 (BCJ) Filter Encoder
22018-07-04 : Igor Pavlov : Public domain */ 22023-03-03 : Igor Pavlov : Public domain */
3 3
4#include "Precomp.h" 4#include "Precomp.h"
5 5
@@ -46,9 +46,8 @@ int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen,
46 memcpy(filteredStream, src, srcLen); 46 memcpy(filteredStream, src, srcLen);
47 } 47 }
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_Enc(filteredStream, srcLen, 0, &x86State);
51 x86_Convert(filteredStream, srcLen, 0, &x86State, 1);
52 } 51 }
53 } 52 }
54 53