strmbase: Avoid using HRESULT codes as BOOL value (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3cdea7e50e
commit
a59e3e0f4e
|
@ -101,7 +101,7 @@ HRESULT WINAPI OutputQueue_Construct(
|
|||
|
||||
EnterCriticalSection(&This->csQueue);
|
||||
if (bAuto && pInputPin->pMemInputPin)
|
||||
threaded = IMemInputPin_ReceiveCanBlock(pInputPin->pMemInputPin);
|
||||
threaded = IMemInputPin_ReceiveCanBlock(pInputPin->pMemInputPin) == S_OK;
|
||||
else
|
||||
threaded = bQueue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue