Commit a514fe76 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 278b70bd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment