diff options
author | 2016-05-12 00:06:54 +1000 | |
---|---|---|
committer | 2016-05-12 00:06:54 +1000 | |
commit | 7a423d0160839b28446d4100087c07019a75399d (patch) | |
tree | 2e3e37c5be23772c894ce523608d139bb450d543 /3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp | |
parent | 6a53a6aeff4f6436210127eeb5dc9111b2da00f4 (diff) |
Update to LZMA 16.0 [Vas Crabb]
Diffstat (limited to '3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp')
-rw-r--r-- | 3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp b/3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp index 0bf39b79ca0..d0e75e83bf1 100644 --- a/3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp +++ b/3rdparty/lzma/CPP/7zip/Compress/BranchMisc.cpp @@ -4,15 +4,20 @@ #include "BranchMisc.h" -STDMETHODIMP CBranchCoder::Init() +namespace NCompress { +namespace NBranch { + +STDMETHODIMP CCoder::Init() { _bufferPos = 0; return S_OK; } -STDMETHODIMP_(UInt32) CBranchCoder::Filter(Byte *data, UInt32 size) +STDMETHODIMP_(UInt32) CCoder::Filter(Byte *data, UInt32 size) { UInt32 processed = (UInt32)BraFunc(data, size, _bufferPos, _encode); _bufferPos += processed; return processed; } + +}} |