"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Compress/BranchMisc.cpp" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

BranchMisc.cpp  (p7zip_15.14.1_src_all):BranchMisc.cpp  (p7zip_16.02_src_all)
// BranchMisc.cpp // BranchMisc.cpp
#include "StdAfx.h" #include "StdAfx.h"
#include "BranchMisc.h" #include "BranchMisc.h"
STDMETHODIMP CBranchCoder::Init() namespace NCompress {
namespace NBranch {
STDMETHODIMP CCoder::Init()
{ {
_bufferPos = 0; _bufferPos = 0;
return S_OK; 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); UInt32 processed = (UInt32)BraFunc(data, size, _bufferPos, _encode);
_bufferPos += processed; _bufferPos += processed;
return processed; return processed;
} }
}}
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS