From e3061405ca834bdd26cd0f3d1cd9ccb232d14225 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 17 Feb 2007 23:16:36 -0800 Subject: [PATCH] quartz: Check for the proper ID when querying for the IBasicAudio interface. --- dlls/quartz/dsoundrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index ee191486c80..32c807cf0b7 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -365,7 +365,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) -- 2.11.4.GIT