[PATCH] quartz: Remove redundant comparison.

Andrey Gusev andrey.goosev at gmail.com
Mon Oct 9 06:45:13 CDT 2017


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/quartz/avisplit.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c
index b6fd9f150f..f3eccedcfc 100644
--- a/dlls/quartz/avisplit.c
+++ b/dlls/quartz/avisplit.c
@@ -1115,8 +1115,7 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin,
         pos += sizeof(RIFFCHUNK) + list.cb;
         hr = IAsyncReader_SyncRead(This->pReader, pos, sizeof(list), (BYTE *)&list);
     }
-    while (hr == S_OK && (list.fcc != FOURCC_LIST ||
-           (list.fcc == FOURCC_LIST && list.fccListType != listtypeAVIMOVIE)));
+    while (hr == S_OK && (list.fcc != FOURCC_LIST || list.fccListType != listtypeAVIMOVIE));
 
     if (hr != S_OK)
     {
-- 
2.13.6




More information about the wine-patches mailing list