quartz: Check for the proper ID when querying for the IBasicAudio interface.

This commit is contained in:
Chris Robinson 2007-02-17 23:16:36 -08:00 committed by Alexandre Julliard
parent a512b9abb5
commit e3061405ca
1 changed files with 1 additions and 1 deletions

View File

@ -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)