Aric Stewart : strmbase: Do not hold the csReceive lock when calling the transform' s Receive function.
Alexandre Julliard
julliard at winehq.org
Mon Jan 23 13:01:13 CST 2012
Module: wine
Branch: master
Commit: e2200b31d6d61f83b55e8062c13d7c5c52ed3538
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2200b31d6d61f83b55e8062c13d7c5c52ed3538
Author: Aric Stewart <aric at codeweavers.com>
Date: Mon Jan 23 08:33:02 2012 -0600
strmbase: Do not hold the csReceive lock when calling the transform's Receive function.
---
dlls/strmbase/transform.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/strmbase/transform.c b/dlls/strmbase/transform.c
index b44becf..981a201 100644
--- a/dlls/strmbase/transform.c
+++ b/dlls/strmbase/transform.c
@@ -81,12 +81,12 @@ static HRESULT WINAPI TransformFilter_Input_Receive(BaseInputPin *This, IMediaSa
return S_FALSE;
}
+ LeaveCriticalSection(&pTransform->csReceive);
if (pTransform->pFuncsTable->pfnReceive)
hr = pTransform->pFuncsTable->pfnReceive(pTransform, pInSample);
else
hr = S_FALSE;
- LeaveCriticalSection(&pTransform->csReceive);
return hr;
}
More information about the wine-cvs
mailing list