mf: Leave instead of enter a critical section.
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bc968469f2
commit
96062c4c79
|
@ -1040,7 +1040,7 @@ static HRESULT WINAPI sample_grabber_sink_Shutdown(IMFMediaSink *iface)
|
|||
IMFStreamSink_Release(&grabber->stream->IMFStreamSink_iface);
|
||||
grabber->stream = NULL;
|
||||
}
|
||||
EnterCriticalSection(&grabber->cs);
|
||||
LeaveCriticalSection(&grabber->cs);
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue