[PATCH] mfplat/tests: Remove a test crashing on XP/Vista.

Nikolay Sivov nsivov at codeweavers.com
Mon Mar 11 06:12:09 CDT 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---

Running this manually, this seems to help. Let's see how it goes.

 dlls/mfplat/tests/mfplat.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dlls/mfplat/tests/mfplat.c b/dlls/mfplat/tests/mfplat.c
index ae9d3b5719..ad248ffa09 100644
--- a/dlls/mfplat/tests/mfplat.c
+++ b/dlls/mfplat/tests/mfplat.c
@@ -846,7 +846,7 @@ static HRESULT WINAPI testcallback_Invoke(IMFAsyncCallback *iface, IMFAsyncResul
 {
     struct test_callback *callback = impl_from_IMFAsyncCallback(iface);
     IMFMediaEventQueue *queue;
-    IUnknown *state, *obj;
+    IUnknown *state;
     HRESULT hr;
 
     ok(result != NULL, "Unexpected result object.\n");
@@ -868,9 +868,6 @@ static HRESULT WINAPI testcallback_Invoke(IMFAsyncCallback *iface, IMFAsyncResul
         hr = IMFMediaEventQueue_EndGetEvent(queue, result, &event);
         ok(hr == S_OK, "Failed to finalize GetEvent, hr %#x.\n", hr);
 
-        hr = IMFAsyncResult_GetObject(result, &obj);
-        ok(hr == E_POINTER, "Unexpected hr %#x.\n", hr);
-
         IMFMediaEvent_Release(event);
 
         hr = IMFMediaEventQueue_EndGetEvent(queue, result, &event);
-- 
2.20.1




More information about the wine-devel mailing list