http://bugs.winehq.org/show_bug.cgi?id=21957
Summary: Missing GUID check in IAMMultiMediaStreamImpl_QueryInterface? Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: amstream AssignedTo: wine-bugs@winehq.org ReportedBy: rainy6144@gmail.com
This is necessary to make some games work (without actually showing the media, though).
--- amstream.c.bak 2010-03-06 16:55:24.000000000 +0800 +++ amstream.c 2010-03-06 16:55:36.000000000 +0800 @@ -79,6 +79,7 @@ TRACE("(%p/%p)->(%s,%p)\n", iface, This, debugstr_guid(riid), ppvObject);
if (IsEqualGUID(riid, &IID_IUnknown) || + IsEqualGUID(riid, &IID_IMultiMediaStream) || IsEqualGUID(riid, &IID_IAMMultiMediaStream)) { IClassFactory_AddRef(iface);