"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Compress/LzmsDecoder.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).

LzmsDecoder.cpp  (p7zip_15.14.1_src_all):LzmsDecoder.cpp  (p7zip_16.02_src_all)
skipping to change at line 265 skipping to change at line 265
if (inSize < 8 || (inSize & 1) != 0) if (inSize < 8 || (inSize & 1) != 0)
return S_FALSE; return S_FALSE;
_rc.Init(in, inSize); _rc.Init(in, inSize);
if (_rc.code >= _rc.range) if (_rc.code >= _rc.range)
return S_FALSE; return S_FALSE;
_bs.Init(in, inSize); _bs.Init(in, inSize);
{ {
{ {
unsigned i; {
for (i = 0 ; i < k_NumReps + 1; i++) for (unsigned i = 0 ; i < k_NumReps + 1; i++)
_reps[i] = i + 1; _reps[i] = i + 1;
}
for (i = 0 ; i < k_NumReps + 1; i++) {
_deltaReps[i] = i + 1; for (unsigned i = 0 ; i < k_NumReps + 1; i++)
_deltaReps[i] = i + 1;
}
mainState = 0; mainState = 0;
matchState = 0; matchState = 0;
{ for (size_t i = 0; i < k_NumMainProbs; i++) mainProbs[i].Init(); } { for (size_t i = 0; i < k_NumMainProbs; i++) mainProbs[i].Init(); }
{ for (size_t i = 0; i < k_NumMatchProbs; i++) matchProbs[i].Init(); } { for (size_t i = 0; i < k_NumMatchProbs; i++) matchProbs[i].Init(); }
{ {
for (size_t k = 0; k < k_NumReps; k++) for (size_t k = 0; k < k_NumReps; k++)
{ {
 End of changes. 2 change blocks. 
5 lines changed or deleted 8 lines changed or added

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