Chris Robinson : quartz: Break loop on error in ACMWrapper.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Apr 4 12:32:26 CDT 2007
Module: wine
Branch: master
Commit: b7a4405d0a745a341ccf1b4c2aa9dd6a19889cb7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7a4405d0a745a341ccf1b4c2aa9dd6a19889cb7
Author: Chris Robinson <chris.kcat at gmail.com>
Date: Tue Apr 3 06:53:22 2007 -0700
quartz: Break loop on error in ACMWrapper.
---
dlls/quartz/acmwrapper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/acmwrapper.c b/dlls/quartz/acmwrapper.c
index b5a3f6c..1142a90 100644
--- a/dlls/quartz/acmwrapper.c
+++ b/dlls/quartz/acmwrapper.c
@@ -81,7 +81,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
return hr;
}
- while(!stop)
+ while(hr == S_OK && !stop)
{
DWORD rem_buf = This->max_size - This->current_size;
DWORD rem_smp = size - offset;
More information about the wine-cvs
mailing list