quartz: Remove always true if subexpression (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Thu Jan 8 04:09:42 CST 2015
---
This is the else branch of "if (indexes)"
dlls/quartz/avisplit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c
index 1f57045..ee03e08 100644
--- a/dlls/quartz/avisplit.c
+++ b/dlls/quartz/avisplit.c
@@ -1199,7 +1199,7 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin,
indexes = 0;
}
}
- else if (!indexes && pAviSplit->oldindex)
+ else if (pAviSplit->oldindex)
indexes = pAviSplit->Parser.cStreams;
if (!indexes && pAviSplit->AviHeader.dwFlags & AVIF_MUSTUSEINDEX)
--
1.9.3
More information about the wine-patches
mailing list