From 347fdce0ad2f14de9541ab77ddb37f1163d25543 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 22 May 2019 00:02:13 -0500 Subject: [PATCH] strmbase: Return void from strmbase_filter_cleanup(). Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/strmbase/filter.c | 4 +--- include/wine/strmbase.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/strmbase/filter.c b/dlls/strmbase/filter.c index 325620e8de7..8bec368c15b 100644 --- a/dlls/strmbase/filter.c +++ b/dlls/strmbase/filter.c @@ -227,7 +227,7 @@ void BaseFilter_Init(BaseFilter *This, const IBaseFilterVtbl *Vtbl, const CLSID This->pFuncsTable = pBaseFuncsTable; } -HRESULT WINAPI strmbase_filter_cleanup(BaseFilter * This) +void strmbase_filter_cleanup(BaseFilter *This) { if (This->pClock) IReferenceClock_Release(This->pClock); @@ -235,6 +235,4 @@ HRESULT WINAPI strmbase_filter_cleanup(BaseFilter * This) This->IBaseFilter_iface.lpVtbl = NULL; This->csFilter.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&This->csFilter); - - return S_OK; } diff --git a/include/wine/strmbase.h b/include/wine/strmbase.h index d51fdb47c7e..2f150e8c488 100644 --- a/include/wine/strmbase.h +++ b/include/wine/strmbase.h @@ -192,7 +192,7 @@ VOID WINAPI BaseFilterImpl_IncrementPinVersion(BaseFilter* This); void BaseFilter_Init(BaseFilter *filter, const IBaseFilterVtbl *vtbl, 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 */ HRESULT WINAPI EnumMediaTypes_Construct(BasePin *iface, BasePin_GetMediaType enumFunc, BasePin_GetMediaTypeVersion versionFunc, IEnumMediaTypes ** ppEnum);