quartz: Replace second EnterCriticalSection with LeaveCriticalSection (Smatch).
This commit is contained in:
parent
53b9a53c27
commit
6ae786ec62
|
@ -400,7 +400,7 @@ HRESULT WINAPI MediaSeekingImpl_GetAvailable(IMediaSeeking * iface, LONGLONG * p
|
||||||
EnterCriticalSection(This->crst);
|
EnterCriticalSection(This->crst);
|
||||||
*pEarliest = 0;
|
*pEarliest = 0;
|
||||||
*pLatest = This->llDuration;
|
*pLatest = This->llDuration;
|
||||||
EnterCriticalSection(This->crst);
|
LeaveCriticalSection(This->crst);
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue