quartz: Break loop on error in ACMWrapper
Chris Robinson
chris.kcat at gmail.com
Tue Apr 3 09:15:36 CDT 2007
-------------- next part --------------
From 27fe9a99f155f46fb7fc01135622a39ed2f0628f Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Tue, 3 Apr 2007 06:53:22 -0700
Subject: [PATCH] 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;
--
1.4.4.4
More information about the wine-patches
mailing list