[PATCH] winegstreamer: Fix GetState

Maarten Lankhorst m.b.lankhorst at gmail.com
Wed Nov 10 02:00:23 CST 2010


---
 dlls/winegstreamer/gstdemux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 1c4b796..709dc42 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1180,7 +1180,7 @@ static HRESULT WINAPI GST_GetState(IBaseFilter *iface, DWORD dwMilliSecsTimeout,
     TRACE("(%d, %p)\n", dwMilliSecsTimeout, pState);
 
     if (!This->gstfilter) {
-        pState = State_Stopped;
+        *pState = State_Stopped;
         return S_OK;
     }
 
-- 
1.7.1




More information about the wine-patches mailing list