quartz: Fix use of CONTAINING_RECORD in impl_from_TransformFilter.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d4ab672cf5
commit
f9663af1f4
|
@ -55,7 +55,7 @@ static const IBaseFilterVtbl ACMWrapper_Vtbl;
|
||||||
|
|
||||||
static inline ACMWrapperImpl *impl_from_TransformFilter( TransformFilter *iface )
|
static inline ACMWrapperImpl *impl_from_TransformFilter( TransformFilter *iface )
|
||||||
{
|
{
|
||||||
return CONTAINING_RECORD(iface, ACMWrapperImpl, tf.filter);
|
return CONTAINING_RECORD(iface, ACMWrapperImpl, tf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI ACMWrapper_Receive(TransformFilter *tf, IMediaSample *pSample)
|
static HRESULT WINAPI ACMWrapper_Receive(TransformFilter *tf, IMediaSample *pSample)
|
||||||
|
|
|
@ -54,7 +54,7 @@ static const IBaseFilterVtbl AVIDec_Vtbl;
|
||||||
|
|
||||||
static inline AVIDecImpl *impl_from_TransformFilter( TransformFilter *iface )
|
static inline AVIDecImpl *impl_from_TransformFilter( TransformFilter *iface )
|
||||||
{
|
{
|
||||||
return CONTAINING_RECORD(iface, AVIDecImpl, tf.filter);
|
return CONTAINING_RECORD(iface, AVIDecImpl, tf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI AVIDec_StartStreaming(TransformFilter* pTransformFilter)
|
static HRESULT WINAPI AVIDec_StartStreaming(TransformFilter* pTransformFilter)
|
||||||
|
|
Loading…
Reference in New Issue