[PATCH 3/5] quartz/avidec: Fix some copy-paste errors.

Zebediah Figura z.figura12 at gmail.com
Tue Mar 31 23:48:17 CDT 2020


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/quartz/avidec.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/dlls/quartz/avidec.c b/dlls/quartz/avidec.c
index 1d9bc8acdfe..ada3a1c7e62 100644
--- a/dlls/quartz/avidec.c
+++ b/dlls/quartz/avidec.c
@@ -470,26 +470,26 @@ static struct avi_decompressor *impl_from_source_IQualityControl(IQualityControl
     return CONTAINING_RECORD(iface, struct avi_decompressor, source_IQualityControl_iface);
 }
 
-static HRESULT WINAPI acm_wrapper_source_qc_QueryInterface(IQualityControl *iface,
+static HRESULT WINAPI avi_decompressor_source_qc_QueryInterface(IQualityControl *iface,
         REFIID iid, void **out)
 {
     struct avi_decompressor *filter = impl_from_source_IQualityControl(iface);
     return IPin_QueryInterface(&filter->source.pin.IPin_iface, iid, out);
 }
 
-static ULONG WINAPI acm_wrapper_source_qc_AddRef(IQualityControl *iface)
+static ULONG WINAPI avi_decompressor_source_qc_AddRef(IQualityControl *iface)
 {
     struct avi_decompressor *filter = impl_from_source_IQualityControl(iface);
     return IPin_AddRef(&filter->source.pin.IPin_iface);
 }
 
-static ULONG WINAPI acm_wrapper_source_qc_Release(IQualityControl *iface)
+static ULONG WINAPI avi_decompressor_source_qc_Release(IQualityControl *iface)
 {
     struct avi_decompressor *filter = impl_from_source_IQualityControl(iface);
     return IPin_Release(&filter->source.pin.IPin_iface);
 }
 
-static HRESULT WINAPI acm_wrapper_source_qc_Notify(IQualityControl *iface,
+static HRESULT WINAPI avi_decompressor_source_qc_Notify(IQualityControl *iface,
         IBaseFilter *sender, Quality q)
 {
     struct avi_decompressor *filter = impl_from_source_IQualityControl(iface);
@@ -506,7 +506,7 @@ static HRESULT WINAPI acm_wrapper_source_qc_Notify(IQualityControl *iface,
     return S_OK;
 }
 
-static HRESULT WINAPI acm_wrapper_source_qc_SetSink(IQualityControl *iface, IQualityControl *sink)
+static HRESULT WINAPI avi_decompressor_source_qc_SetSink(IQualityControl *iface, IQualityControl *sink)
 {
     struct avi_decompressor *filter = impl_from_source_IQualityControl(iface);
 
@@ -517,11 +517,11 @@ static HRESULT WINAPI acm_wrapper_source_qc_SetSink(IQualityControl *iface, IQua
 
 static const IQualityControlVtbl source_qc_vtbl =
 {
-    acm_wrapper_source_qc_QueryInterface,
-    acm_wrapper_source_qc_AddRef,
-    acm_wrapper_source_qc_Release,
-    acm_wrapper_source_qc_Notify,
-    acm_wrapper_source_qc_SetSink,
+    avi_decompressor_source_qc_QueryInterface,
+    avi_decompressor_source_qc_AddRef,
+    avi_decompressor_source_qc_Release,
+    avi_decompressor_source_qc_Notify,
+    avi_decompressor_source_qc_SetSink,
 };
 
 static struct strmbase_pin *avi_decompressor_get_pin(struct strmbase_filter *iface, unsigned int index)
-- 
2.26.0




More information about the wine-devel mailing list