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@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-11-25 19:24:31 -06:00 committed by Alexandre Julliard
parent 0509eb2904
commit b2b33c2623
1 changed files with 0 additions and 2 deletions

View File

@ -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);