[PATCH] mf: Leave instead of enter a critical section.
Sven Baars
sven.wine at gmail.com
Sun Oct 20 06:20:31 CDT 2019
Signed-off-by: Sven Baars <sven.wine at 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
More information about the wine-devel
mailing list