Commit 653c7e7d authored by David Adam's avatar David Adam Committed by Alexandre Julliard

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

parent 340f34dd
......@@ -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;
......
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