mmdevapi: Don't check for IID_IDirectSoundCapture8, it is just a define (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2015-03-06 10:09:19 +01:00 committed by Alexandre Julliard
parent 278b70bdd0
commit a514fe7642

View file

@ -645,8 +645,7 @@ static HRESULT WINAPI MMDevice_Activate(IMMDevice *iface, REFIID riid, DWORD cls
IDirectSound_Release((IDirectSound*)*ppv);
}
}
else if (IsEqualIID(riid, &IID_IDirectSoundCapture)
|| IsEqualIID(riid, &IID_IDirectSoundCapture8))
else if (IsEqualIID(riid, &IID_IDirectSoundCapture))
{
if (This->flow == eCapture)
hr = CoCreateInstance(&CLSID_DirectSoundCapture8, NULL, clsctx, riid, ppv);