Module: wine Branch: master Commit: 653c7e7dcaf7ebee2cfc8a6e356779dc8974aac6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=653c7e7dcaf7ebee2cfc8a6e35...
Author: David Adam david.adam.cnrs@gmail.com Date: Sun Apr 27 12:10:32 2008 +0200
amstream: Fix the condition of existence of the IMediaStream interface.
---
dlls/amstream/mediastream.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/amstream/mediastream.c b/dlls/amstream/mediastream.c index 2cb7ce6..3d15731 100644 --- a/dlls/amstream/mediastream.c +++ b/dlls/amstream/mediastream.c @@ -71,7 +71,8 @@ static HRESULT WINAPI IMediaStreamImpl_QueryInterface(IMediaStream* iface, REFII TRACE("(%p/%p)->(%s,%p)\n", iface, This, debugstr_guid(riid), ppvObject);
if (IsEqualGUID(riid, &IID_IUnknown) || - IsEqualGUID(riid, &IID_IAMMultiMediaStream)) + IsEqualGUID(riid, &IID_IAMMultiMediaStream) || + IsEqualGUID(riid, &IID_IDirectDrawMediaStream)) { IClassFactory_AddRef(iface); *ppvObject = This;