aboutsummaryrefslogtreecommitdiff
path: root/C/Lzma86Enc.c
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-06-21 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-12-17 14:59:19 +0500
commit5b39dc76f1bc82f941d5c800ab9f34407a06b53a (patch)
treefe5e17420300b715021a76328444088d32047963 /C/Lzma86Enc.c
parent93be7d4abfd4233228f58ee1fbbcd76d91be66a4 (diff)
download7zip-23.01.tar.gz
7zip-23.01.tar.bz2
7zip-23.01.zip
23.0123.01
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