Maarten Lankhorst : winegstreamer: Fix GetState.

Alexandre Julliard julliard at winehq.org
Wed Nov 10 11:09:42 CST 2010


Module: wine
Branch: master
Commit: 482541447b3c9ecb978bbed4b863f3cf6916767e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=482541447b3c9ecb978bbed4b863f3cf6916767e

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed Nov 10 09:00:23 2010 +0100

winegstreamer: Fix GetState.

---

 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;
     }
 




More information about the wine-cvs mailing list