strmbase: Return void from strmbase_filter_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
43444f4096
commit
347fdce0ad
|
@ -227,7 +227,7 @@ void BaseFilter_Init(BaseFilter *This, const IBaseFilterVtbl *Vtbl, const CLSID
|
||||||
This->pFuncsTable = pBaseFuncsTable;
|
This->pFuncsTable = pBaseFuncsTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI strmbase_filter_cleanup(BaseFilter * This)
|
void strmbase_filter_cleanup(BaseFilter *This)
|
||||||
{
|
{
|
||||||
if (This->pClock)
|
if (This->pClock)
|
||||||
IReferenceClock_Release(This->pClock);
|
IReferenceClock_Release(This->pClock);
|
||||||
|
@ -235,6 +235,4 @@ HRESULT WINAPI strmbase_filter_cleanup(BaseFilter * This)
|
||||||
This->IBaseFilter_iface.lpVtbl = NULL;
|
This->IBaseFilter_iface.lpVtbl = NULL;
|
||||||
This->csFilter.DebugInfo->Spare[0] = 0;
|
This->csFilter.DebugInfo->Spare[0] = 0;
|
||||||
DeleteCriticalSection(&This->csFilter);
|
DeleteCriticalSection(&This->csFilter);
|
||||||
|
|
||||||
return S_OK;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -192,7 +192,7 @@ VOID WINAPI BaseFilterImpl_IncrementPinVersion(BaseFilter* This);
|
||||||
|
|
||||||
void BaseFilter_Init(BaseFilter *filter, const IBaseFilterVtbl *vtbl,
|
void BaseFilter_Init(BaseFilter *filter, const IBaseFilterVtbl *vtbl,
|
||||||
const CLSID *clsid, DWORD_PTR debug_info, const BaseFilterFuncTable *func_table);
|
const CLSID *clsid, DWORD_PTR debug_info, const BaseFilterFuncTable *func_table);
|
||||||
HRESULT WINAPI strmbase_filter_cleanup(BaseFilter *filter);
|
void strmbase_filter_cleanup(BaseFilter *filter);
|
||||||
|
|
||||||
/* Enums */
|
/* Enums */
|
||||||
HRESULT WINAPI EnumMediaTypes_Construct(BasePin *iface, BasePin_GetMediaType enumFunc, BasePin_GetMediaTypeVersion versionFunc, IEnumMediaTypes ** ppEnum);
|
HRESULT WINAPI EnumMediaTypes_Construct(BasePin *iface, BasePin_GetMediaType enumFunc, BasePin_GetMediaTypeVersion versionFunc, IEnumMediaTypes ** ppEnum);
|
||||||
|
|
Loading…
Reference in New Issue