[PATCH] mfplat: Unlock section after finishing.
8 Mar
2019
8 Mar
'19
6:51 a.m.
Signed-off-by: Jactry Zeng <jzeng(a)codeweavers.com> --- dlls/mfplat/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mfplat/buffer.c b/dlls/mfplat/buffer.c index afdb525dea..455294787e 100644 --- a/dlls/mfplat/buffer.c +++ b/dlls/mfplat/buffer.c @@ -521,7 +521,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; } -- 2.20.1
2562
Age (days ago)
2562
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jactry Zeng