amstream: Fix the condition of existence of the IMediaStream interface.

This commit is contained in:
David Adam 2008-04-27 12:10:32 +02:00 committed by Alexandre Julliard
parent 340f34ddf6
commit 653c7e7dca
1 changed files with 2 additions and 1 deletions

View File

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