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:
Nikolay Sivov 2015-10-16 10:17:59 +03:00 committed by Alexandre Julliard
parent 3cdea7e50e
commit a59e3e0f4e
1 changed files with 1 additions and 1 deletions

View File

@ -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;