diff options
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; } + +}} |