aboutsummaryrefslogtreecommitdiff
path: root/CPP/7zip/Compress/ShrinkDecoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/7zip/Compress/ShrinkDecoder.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/CPP/7zip/Compress/ShrinkDecoder.cpp b/CPP/7zip/Compress/ShrinkDecoder.cpp
index 22f3844..c8e2083 100644
--- a/CPP/7zip/Compress/ShrinkDecoder.cpp
+++ b/CPP/7zip/Compress/ShrinkDecoder.cpp
@@ -198,7 +198,7 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream *
198 while (i); 198 while (i);
199 } 199 }
200 200
201 RINOK(outBuffer.Flush()); 201 RINOK(outBuffer.Flush())
202 202
203 if (res == S_OK) 203 if (res == S_OK)
204 if (_fullStreamMode) 204 if (_fullStreamMode)
@@ -216,8 +216,8 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream *
216} 216}
217 217
218 218
219STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, 219Z7_COM7F_IMF(CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream,
220 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress) 220 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress))
221{ 221{
222 try { return CodeReal(inStream, outStream, inSize, outSize, progress); } 222 try { return CodeReal(inStream, outStream, inSize, outSize, progress); }
223 // catch(const CInBufferException &e) { return e.ErrorCode; } 223 // catch(const CInBufferException &e) { return e.ErrorCode; }
@@ -227,14 +227,14 @@ STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream
227} 227}
228 228
229 229
230STDMETHODIMP CDecoder::SetFinishMode(UInt32 finishMode) 230Z7_COM7F_IMF(CDecoder::SetFinishMode(UInt32 finishMode))
231{ 231{
232 _fullStreamMode = (finishMode != 0); 232 _fullStreamMode = (finishMode != 0);
233 return S_OK; 233 return S_OK;
234} 234}
235 235
236 236
237STDMETHODIMP CDecoder::GetInStreamProcessedSize(UInt64 *value) 237Z7_COM7F_IMF(CDecoder::GetInStreamProcessedSize(UInt64 *value))
238{ 238{
239 *value = _inProcessed; 239 *value = _inProcessed;
240 return S_OK; 240 return S_OK;