Commit 5a19e3b7 authored by Chris Robinson's avatar Chris Robinson Committed by Alexandre Julliard

quartz: Use the right vtable offset for the IMediaFilter functions.

parent 9f92437e
......@@ -4167,21 +4167,21 @@ static const IMediaEventExVtbl IMediaEventEx_VTable =
static HRESULT WINAPI MediaFilter_QueryInterface(IMediaFilter *iface, REFIID riid, LPVOID *ppv)
{
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return Filtergraph_QueryInterface(This, riid, ppv);
}
static ULONG WINAPI MediaFilter_AddRef(IMediaFilter *iface)
{
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return Filtergraph_AddRef(This);
}
static ULONG WINAPI MediaFilter_Release(IMediaFilter *iface)
{
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaEventEx_vtbl, iface);
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return Filtergraph_Release(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