Commit 96062c4c authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

mf: Leave instead of enter a critical section.

parent bc968469
...@@ -1040,7 +1040,7 @@ static HRESULT WINAPI sample_grabber_sink_Shutdown(IMFMediaSink *iface) ...@@ -1040,7 +1040,7 @@ static HRESULT WINAPI sample_grabber_sink_Shutdown(IMFMediaSink *iface)
IMFStreamSink_Release(&grabber->stream->IMFStreamSink_iface); IMFStreamSink_Release(&grabber->stream->IMFStreamSink_iface);
grabber->stream = NULL; grabber->stream = NULL;
} }
EnterCriticalSection(&grabber->cs); LeaveCriticalSection(&grabber->cs);
return hr; return hr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment