Zebediah Figura : quartz/avidec: Don't drop the "csReceive" mutex while calling IMemInputPin::Receive().
Module: wine Branch: master Commit: b2b33c2623124fcbc67cfd29486e43be6349d0a4 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b2b33c2623124fcbc67cfd294... Author: Zebediah Figura <z.figura12(a)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(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard