[PATCH] winegstreamer: Remove attributes pointer from static registration data.

Nikolay Sivov nsivov at codeweavers.com
Wed Mar 10 05:04:44 CST 2021


We should store actual key/value pairs in there, if we ever needed this part of
registration information.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/winegstreamer/mfplat.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c
index 602fa631a43..68278838458 100644
--- a/dlls/winegstreamer/mfplat.c
+++ b/dlls/winegstreamer/mfplat.c
@@ -458,7 +458,6 @@ static const struct mft
     const GUID **input_types;
     const UINT32 output_types_count;
     const GUID **output_types;
-    IMFAttributes *attributes;
 }
 mfts[] =
 {
@@ -472,7 +471,6 @@ mfts[] =
         audio_converter_supported_types,
         ARRAY_SIZE(audio_converter_supported_types),
         audio_converter_supported_types,
-        NULL
     },
 };
 
@@ -498,7 +496,7 @@ HRESULT mfplat_DllRegisterServer(void)
         }
 
         hr = MFTRegister(*(cur->clsid), *(cur->category), cur->name, cur->flags, cur->input_types_count,
-                    input_types, cur->output_types_count, output_types, cur->attributes);
+                    input_types, cur->output_types_count, output_types, NULL);
 
         if (FAILED(hr))
         {
-- 
2.30.1




More information about the wine-devel mailing list