Commit a1e117b7 authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

mfplat: Unlock section after finishing.

parent f91cadcd
......@@ -525,7 +525,7 @@ static HRESULT WINAPI sample_GetBufferCount(IMFSample *iface, DWORD *count)
EnterCriticalSection(&sample->cs);
*count = sample->buffer_count;
EnterCriticalSection(&sample->cs);
LeaveCriticalSection(&sample->cs);
return S_OK;
}
......
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