Commit 1fc5c6b7 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Remove unnecessary calling convention from the filter_get_pin() callback.

parent 8a8c5a82
...@@ -191,7 +191,7 @@ static const IBaseFilterVtbl basefilter_vtbl = ...@@ -191,7 +191,7 @@ static const IBaseFilterVtbl basefilter_vtbl =
BaseFilterImpl_QueryVendorInfo BaseFilterImpl_QueryVendorInfo
}; };
static IPin * WINAPI evr_get_pin(BaseFilter *iface, unsigned int index) static IPin *evr_get_pin(BaseFilter *iface, unsigned int index)
{ {
FIXME("iface %p, index %u, stub!\n", iface, index); FIXME("iface %p, index %u, stub!\n", iface, index);
return NULL; return NULL;
......
...@@ -171,7 +171,7 @@ static const IBaseFilterVtbl AudioRecordVtbl = { ...@@ -171,7 +171,7 @@ static const IBaseFilterVtbl AudioRecordVtbl = {
BaseFilterImpl_QueryVendorInfo BaseFilterImpl_QueryVendorInfo
}; };
static IPin * WINAPI audio_record_get_pin(BaseFilter *iface, unsigned int index) static IPin *audio_record_get_pin(BaseFilter *iface, unsigned int index)
{ {
FIXME("iface %p, index %u, stub!\n", iface, index); FIXME("iface %p, index %u, stub!\n", iface, index);
return NULL; return NULL;
......
...@@ -244,7 +244,7 @@ static const IBaseFilterVtbl AVICompressorVtbl = { ...@@ -244,7 +244,7 @@ static const IBaseFilterVtbl AVICompressorVtbl = {
AVICompressor_QueryVendorInfo AVICompressor_QueryVendorInfo
}; };
static IPin * WINAPI avi_compressor_get_pin(BaseFilter *iface, unsigned int index) static IPin *avi_compressor_get_pin(BaseFilter *iface, unsigned int index)
{ {
AVICompressor *This = impl_from_BaseFilter(iface); AVICompressor *This = impl_from_BaseFilter(iface);
IPin *ret; IPin *ret;
......
...@@ -116,7 +116,7 @@ static inline AviMux* impl_from_BaseFilter(BaseFilter *filter) ...@@ -116,7 +116,7 @@ static inline AviMux* impl_from_BaseFilter(BaseFilter *filter)
return CONTAINING_RECORD(filter, AviMux, filter); return CONTAINING_RECORD(filter, AviMux, filter);
} }
static IPin * WINAPI avi_mux_get_pin(BaseFilter *iface, unsigned int index) static IPin *avi_mux_get_pin(BaseFilter *iface, unsigned int index)
{ {
AviMux *This = impl_from_BaseFilter(iface); AviMux *This = impl_from_BaseFilter(iface);
......
...@@ -199,7 +199,7 @@ static const IBaseFilterVtbl SmartTeeFilterVtbl = { ...@@ -199,7 +199,7 @@ static const IBaseFilterVtbl SmartTeeFilterVtbl = {
BaseFilterImpl_QueryVendorInfo BaseFilterImpl_QueryVendorInfo
}; };
static IPin * WINAPI smart_tee_get_pin(BaseFilter *iface, unsigned int index) static IPin *smart_tee_get_pin(BaseFilter *iface, unsigned int index)
{ {
SmartTeeFilter *This = impl_from_BaseFilter(iface); SmartTeeFilter *This = impl_from_BaseFilter(iface);
IPin *ret; IPin *ret;
......
...@@ -192,7 +192,7 @@ static const IUnknownVtbl unknown_inner_vtbl = ...@@ -192,7 +192,7 @@ static const IUnknownVtbl unknown_inner_vtbl =
unknown_inner_Release, unknown_inner_Release,
}; };
static IPin * WINAPI vfw_capture_get_pin(BaseFilter *iface, unsigned int index) static IPin *vfw_capture_get_pin(BaseFilter *iface, unsigned int index)
{ {
VfwCapture *This = impl_from_BaseFilter(iface); VfwCapture *This = impl_from_BaseFilter(iface);
......
...@@ -339,7 +339,7 @@ static const IUnknownVtbl samplegrabber_vtbl = ...@@ -339,7 +339,7 @@ static const IUnknownVtbl samplegrabber_vtbl =
SampleGrabber_Release, SampleGrabber_Release,
}; };
static IPin * WINAPI sample_grabber_get_pin(BaseFilter *iface, unsigned int index) static IPin *sample_grabber_get_pin(BaseFilter *iface, unsigned int index)
{ {
SG_Impl *This = impl_from_BaseFilter(iface); SG_Impl *This = impl_from_BaseFilter(iface);
IPin *pin; IPin *pin;
......
...@@ -392,7 +392,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID * ...@@ -392,7 +392,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
return hr; return hr;
} }
static IPin * WINAPI async_reader_get_pin(BaseFilter *iface, unsigned int index) static IPin *async_reader_get_pin(BaseFilter *iface, unsigned int index)
{ {
AsyncReader *This = impl_from_BaseFilter(iface); AsyncReader *This = impl_from_BaseFilter(iface);
......
...@@ -62,7 +62,7 @@ static inline ParserImpl *impl_from_BaseFilter( BaseFilter *iface ) ...@@ -62,7 +62,7 @@ static inline ParserImpl *impl_from_BaseFilter( BaseFilter *iface )
return CONTAINING_RECORD(iface, ParserImpl, filter); return CONTAINING_RECORD(iface, ParserImpl, filter);
} }
static IPin * WINAPI parser_get_pin(BaseFilter *iface, unsigned int index) static IPin *parser_get_pin(BaseFilter *iface, unsigned int index)
{ {
ParserImpl *filter = impl_from_BaseFilter(iface); ParserImpl *filter = impl_from_BaseFilter(iface);
......
...@@ -183,7 +183,7 @@ static const IPinVtbl BaseRenderer_InputPin_Vtbl = ...@@ -183,7 +183,7 @@ static const IPinVtbl BaseRenderer_InputPin_Vtbl =
BaseInputPinImpl_NewSegment BaseInputPinImpl_NewSegment
}; };
static IPin * WINAPI renderer_get_pin(BaseFilter *iface, unsigned int index) static IPin *renderer_get_pin(BaseFilter *iface, unsigned int index)
{ {
BaseRenderer *This = impl_from_BaseFilter(iface); BaseRenderer *This = impl_from_BaseFilter(iface);
......
...@@ -128,7 +128,7 @@ static HRESULT WINAPI TransformFilter_Output_GetMediaType(BasePin *This, int iPo ...@@ -128,7 +128,7 @@ static HRESULT WINAPI TransformFilter_Output_GetMediaType(BasePin *This, int iPo
return S_OK; return S_OK;
} }
static IPin * WINAPI transform_get_pin(BaseFilter *iface, unsigned int index) static IPin *transform_get_pin(BaseFilter *iface, unsigned int index)
{ {
TransformFilter *filter = impl_from_BaseFilter(iface); TransformFilter *filter = impl_from_BaseFilter(iface);
......
...@@ -1196,7 +1196,7 @@ static inline GSTOutPin *impl_from_IMediaSeeking( IMediaSeeking *iface ) ...@@ -1196,7 +1196,7 @@ static inline GSTOutPin *impl_from_IMediaSeeking( IMediaSeeking *iface )
return CONTAINING_RECORD(iface, GSTOutPin, seek.IMediaSeeking_iface); return CONTAINING_RECORD(iface, GSTOutPin, seek.IMediaSeeking_iface);
} }
static IPin * WINAPI gstdemux_get_pin(BaseFilter *base, unsigned int index) static IPin *gstdemux_get_pin(BaseFilter *base, unsigned int index)
{ {
GSTImpl *This = impl_from_IBaseFilter(&base->IBaseFilter_iface); GSTImpl *This = impl_from_IBaseFilter(&base->IBaseFilter_iface);
IPin *pin; IPin *pin;
......
...@@ -202,7 +202,7 @@ static inline QTSplitter *impl_from_IBaseFilter( IBaseFilter *iface ) ...@@ -202,7 +202,7 @@ static inline QTSplitter *impl_from_IBaseFilter( IBaseFilter *iface )
* Base Filter * Base Filter
*/ */
static IPin * WINAPI qt_splitter_get_pin(BaseFilter *base, unsigned int index) static IPin *qt_splitter_get_pin(BaseFilter *base, unsigned int index)
{ {
QTSplitter *filter = impl_from_BaseFilter(base); QTSplitter *filter = impl_from_BaseFilter(base);
......
...@@ -170,7 +170,7 @@ typedef struct BaseFilter ...@@ -170,7 +170,7 @@ typedef struct BaseFilter
typedef struct BaseFilterFuncTable typedef struct BaseFilterFuncTable
{ {
IPin *(WINAPI *filter_get_pin)(BaseFilter *iface, unsigned int index); IPin *(*filter_get_pin)(BaseFilter *iface, unsigned int index);
} BaseFilterFuncTable; } BaseFilterFuncTable;
HRESULT WINAPI BaseFilterImpl_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv); HRESULT WINAPI BaseFilterImpl_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv);
......
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