[PATCH] mf: Leave instead of enter a critical section.
20 Oct
2019
20 Oct
'19
11:20 a.m.
Signed-off-by: Sven Baars <sven.wine(a)gmail.com> --- dlls/mf/samplegrabber.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mf/samplegrabber.c b/dlls/mf/samplegrabber.c index c3dc2e1b7f..205bc70b1b 100644 --- a/dlls/mf/samplegrabber.c +++ b/dlls/mf/samplegrabber.c @@ -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; } -- 2.17.1
2252
Age (days ago)
2252
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nikolay Sivov -
Sven Baars