Commit a59e3e0f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

strmbase: Avoid using HRESULT codes as BOOL value (PVS-Studio).

parent 3cdea7e5
......@@ -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;
......
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