Zebediah Figura : quartz/avidec: Don't drop the "csReceive" mutex while calling IMemInputPin::Receive().
Alexandre Julliard
julliard at winehq.org
Tue Nov 26 16:21:25 CST 2019
Module: wine
Branch: master
Commit: b2b33c2623124fcbc67cfd29486e43be6349d0a4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2b33c2623124fcbc67cfd29486e43be6349d0a4
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Mon Nov 25 19:24:31 2019 -0600
quartz/avidec: Don't drop the "csReceive" mutex while calling IMemInputPin::Receive().
There's no reason to do this, and there may never have been.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/quartz/avidec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/quartz/avidec.c b/dlls/quartz/avidec.c
index 63c5aefcc5..cbe109df2b 100644
--- a/dlls/quartz/avidec.c
+++ b/dlls/quartz/avidec.c
@@ -183,9 +183,7 @@ static HRESULT WINAPI AVIDec_Receive(TransformFilter *tf, IMediaSample *pSample)
else
IMediaSample_SetMediaTime(pOutSample, NULL, NULL);
- LeaveCriticalSection(&This->tf.csReceive);
hr = IMemInputPin_Receive(This->tf.source.pMemInputPin, pOutSample);
- EnterCriticalSection(&This->tf.csReceive);
if (hr != S_OK && hr != VFW_E_NOT_CONNECTED)
ERR("Error sending sample (%x)\n", hr);
More information about the wine-cvs
mailing list