Nikolay Sivov : winegstreamer: Remove attributes pointer from static registration data.

Alexandre Julliard julliard at winehq.org
Wed Mar 10 14:58:47 CST 2021


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Mar 10 14:04:44 2021 +0300

winegstreamer: Remove attributes pointer from static registration data.

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>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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))
         {




More information about the wine-cvs mailing list