[Bug 42285] Age of empire 3 crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 11 03:37:33 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=42285

--- Comment #7 from Chen Minqiang <ptpt52 at gmail.com> ---
I try to fix this bug, maybe this patch fix it. please help test it.

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 3ef2324..73dfbb0 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1148,6 +1148,9 @@ static HRESULT GST_Connect(GSTInPin *pPin, IPin
*pConnectPin, ALLOCATOR_PROPERTI
     if (ret < 0) {
         ERR("Returns: %i\n", ret);
         return E_FAIL;
+    } else if (!This->cStreams) {
+        ERR("GStreamer could not find any streams\n");
+        return E_FAIL;
     }
     This->start = This->nextofs = This->nextpullofs = This->stop = 0;

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list