=?UTF-8?Q?Mikl=C3=B3s=20M=C3=A1t=C3=A9=20?=: quartz: Small readability fix.

Alexandre Julliard julliard at winehq.org
Mon Jun 12 16:10:39 CDT 2017


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

Author: Miklós Máté <mtmkls at gmail.com>
Date:   Sun Jun 11 00:22:58 2017 +0200

quartz: Small readability fix.

Signed-off-by: Miklós Máté <mtmkls at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/vmr9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index 13f0d89..d9e4f46 100644
--- a/dlls/quartz/vmr9.c
+++ b/dlls/quartz/vmr9.c
@@ -383,7 +383,7 @@ static HRESULT WINAPI VMR9_CheckMediaType(BaseRenderer *iface, const AM_MEDIA_TY
         ERR("Format type %s not supported\n", debugstr_guid(&pmt->formattype));
         return S_FALSE;
     }
-    if (This->bmiheader.biCompression)
+    if (This->bmiheader.biCompression != BI_RGB)
         return S_FALSE;
     return S_OK;
 }




More information about the wine-cvs mailing list