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

Alexandre Julliard julliard at winehq.org
Fri May 24 15:46:35 CDT 2019


Module: wine
Branch: master
Commit: 1fc5c6b75d8d36808bd97f282a778980078f0231
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1fc5c6b75d8d36808bd97f282a778980078f0231

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu May 23 17:06:32 2019 -0500

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

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/evr/evr.c                  | 2 +-
 dlls/qcap/audiorecord.c         | 2 +-
 dlls/qcap/avico.c               | 2 +-
 dlls/qcap/avimux.c              | 2 +-
 dlls/qcap/smartteefilter.c      | 2 +-
 dlls/qcap/vfwcapture.c          | 2 +-
 dlls/qedit/samplegrabber.c      | 2 +-
 dlls/quartz/filesource.c        | 2 +-
 dlls/quartz/parser.c            | 2 +-
 dlls/strmbase/renderer.c        | 2 +-
 dlls/strmbase/transform.c       | 2 +-
 dlls/winegstreamer/gstdemux.c   | 2 +-
 dlls/wineqtdecoder/qtsplitter.c | 2 +-
 include/wine/strmbase.h         | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/dlls/evr/evr.c b/dlls/evr/evr.c
index 6121068..8341c40 100644
--- a/dlls/evr/evr.c
+++ b/dlls/evr/evr.c
@@ -191,7 +191,7 @@ static const IBaseFilterVtbl basefilter_vtbl =
     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);
     return NULL;
diff --git a/dlls/qcap/audiorecord.c b/dlls/qcap/audiorecord.c
index d6b99ee..bc1b452 100644
--- a/dlls/qcap/audiorecord.c
+++ b/dlls/qcap/audiorecord.c
@@ -171,7 +171,7 @@ static const IBaseFilterVtbl AudioRecordVtbl = {
     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);
     return NULL;
diff --git a/dlls/qcap/avico.c b/dlls/qcap/avico.c
index 2e147a5..e2f21d0 100644
--- a/dlls/qcap/avico.c
+++ b/dlls/qcap/avico.c
@@ -244,7 +244,7 @@ static const IBaseFilterVtbl AVICompressorVtbl = {
     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);
     IPin *ret;
diff --git a/dlls/qcap/avimux.c b/dlls/qcap/avimux.c
index 9272960..77e5898 100644
--- a/dlls/qcap/avimux.c
+++ b/dlls/qcap/avimux.c
@@ -116,7 +116,7 @@ static inline AviMux* impl_from_BaseFilter(BaseFilter *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);
 
diff --git a/dlls/qcap/smartteefilter.c b/dlls/qcap/smartteefilter.c
index b3a8748..7496fe6 100644
--- a/dlls/qcap/smartteefilter.c
+++ b/dlls/qcap/smartteefilter.c
@@ -199,7 +199,7 @@ static const IBaseFilterVtbl SmartTeeFilterVtbl = {
     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);
     IPin *ret;
diff --git a/dlls/qcap/vfwcapture.c b/dlls/qcap/vfwcapture.c
index e5dfead..a795a1e 100644
--- a/dlls/qcap/vfwcapture.c
+++ b/dlls/qcap/vfwcapture.c
@@ -192,7 +192,7 @@ static const IUnknownVtbl unknown_inner_vtbl =
     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);
 
diff --git a/dlls/qedit/samplegrabber.c b/dlls/qedit/samplegrabber.c
index 9877523..76dc3d7 100644
--- a/dlls/qedit/samplegrabber.c
+++ b/dlls/qedit/samplegrabber.c
@@ -339,7 +339,7 @@ static const IUnknownVtbl samplegrabber_vtbl =
     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);
     IPin *pin;
diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c
index b10a7ff..269fa27 100644
--- a/dlls/quartz/filesource.c
+++ b/dlls/quartz/filesource.c
@@ -392,7 +392,7 @@ HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName, GUID *
     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);
 
diff --git a/dlls/quartz/parser.c b/dlls/quartz/parser.c
index 6863947..fdefa3d 100644
--- a/dlls/quartz/parser.c
+++ b/dlls/quartz/parser.c
@@ -62,7 +62,7 @@ static inline ParserImpl *impl_from_BaseFilter( BaseFilter *iface )
     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);
 
diff --git a/dlls/strmbase/renderer.c b/dlls/strmbase/renderer.c
index 278bf0a..ea1be8b 100644
--- a/dlls/strmbase/renderer.c
+++ b/dlls/strmbase/renderer.c
@@ -183,7 +183,7 @@ static const IPinVtbl BaseRenderer_InputPin_Vtbl =
     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);
 
diff --git a/dlls/strmbase/transform.c b/dlls/strmbase/transform.c
index e19f3ef..6a7636c 100644
--- a/dlls/strmbase/transform.c
+++ b/dlls/strmbase/transform.c
@@ -128,7 +128,7 @@ static HRESULT WINAPI TransformFilter_Output_GetMediaType(BasePin *This, int iPo
     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);
 
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 3482d3e..6d3d2a0 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1196,7 +1196,7 @@ static inline GSTOutPin *impl_from_IMediaSeeking( 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);
     IPin *pin;
diff --git a/dlls/wineqtdecoder/qtsplitter.c b/dlls/wineqtdecoder/qtsplitter.c
index 3b00a01..e900b91 100644
--- a/dlls/wineqtdecoder/qtsplitter.c
+++ b/dlls/wineqtdecoder/qtsplitter.c
@@ -202,7 +202,7 @@ static inline QTSplitter *impl_from_IBaseFilter( IBaseFilter *iface )
  * 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);
 
diff --git a/include/wine/strmbase.h b/include/wine/strmbase.h
index 17a58a1..7c44b36 100644
--- a/include/wine/strmbase.h
+++ b/include/wine/strmbase.h
@@ -170,7 +170,7 @@ typedef struct BaseFilter
 
 typedef struct BaseFilterFuncTable
 {
-    IPin *(WINAPI *filter_get_pin)(BaseFilter *iface, unsigned int index);
+    IPin *(*filter_get_pin)(BaseFilter *iface, unsigned int index);
 } BaseFilterFuncTable;
 
 HRESULT WINAPI BaseFilterImpl_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv);




More information about the wine-cvs mailing list