Module: wine Branch: master Commit: a514fe7642c2fabdf93f6ab93f1c89b7a345680a URL: http://source.winehq.org/git/wine.git/?a=commit;h=a514fe7642c2fabdf93f6ab93f...
Author: Michael Stefaniuc mstefani@redhat.de Date: Fri Mar 6 10:09:19 2015 +0100
mmdevapi: Don't check for IID_IDirectSoundCapture8, it is just a define (PVS-Studio).
---
dlls/mmdevapi/devenum.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c index a78e03d..1a5bf00 100644 --- a/dlls/mmdevapi/devenum.c +++ b/dlls/mmdevapi/devenum.c @@ -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);