quartz: Remove an always true conditional subexpression (PVS-Studio).
This commit is contained in:
parent
73019d5e20
commit
2e54309f39
|
@ -268,7 +268,7 @@ HRESULT WINAPI PullPin_ReceiveConnection(IPin * iface, IPin * pReceivePin, const
|
|||
props.cbAlign = 1;
|
||||
props.cbPrefix = 0;
|
||||
|
||||
if (SUCCEEDED(hr) && (This->fnQueryAccept(This->pUserData, pmt) != S_OK))
|
||||
if (This->fnQueryAccept(This->pUserData, pmt) != S_OK)
|
||||
hr = VFW_E_TYPE_NOT_ACCEPTED; /* FIXME: shouldn't we just map common errors onto
|
||||
* VFW_E_TYPE_NOT_ACCEPTED and pass the value on otherwise? */
|
||||
|
||||
|
|
Loading…
Reference in New Issue