Andrey Gusev : quartz: Remove redundant comparison.

Alexandre Julliard julliard at winehq.org
Mon Oct 9 14:28:41 CDT 2017


Module: wine
Branch: master
Commit: 8273fc88c9a31728d910b6e6b281a30b0fc7c1f6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8273fc88c9a31728d910b6e6b281a30b0fc7c1f6

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Mon Oct  9 14:45:13 2017 +0300

quartz: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 b6fd9f1..f3ecced 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)
     {




More information about the wine-cvs mailing list