quartz: Check for the proper ID when querying for the IBasicAudio
interface
Chris Robinson
chris.kcat at gmail.com
Sun Feb 18 01:16:36 CST 2007
-------------- next part --------------
From 047480c0296dc1a5881981f5e8863faf140c5fd3 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Thu, 15 Feb 2007 20:28:55 -0800
Subject: [PATCH] quartz: Check for the proper ID when querying for the IBasicAudio interface
---
dlls/quartz/dsoundrender.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 693d355..7f2e2a4 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -354,7 +354,7 @@ static HRESULT WINAPI DSoundRender_QueryInterface(IBaseFilter * iface, REFIID ri
*ppv = (LPVOID)This;
else if (IsEqualIID(riid, &IID_IBaseFilter))
*ppv = (LPVOID)This;
- else if (IsEqualIID(riid, &IID_IBaseFilter))
+ else if (IsEqualIID(riid, &IID_IBasicAudio))
*ppv = (LPVOID)&(This->IBasicAudio_vtbl);
if (*ppv)
--
1.4.4.4
More information about the wine-patches
mailing list