Marcus Meissner : wingstreamer: Set target of parameter pointer, not parameter (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Jul 11 13:17:48 CDT 2011
Module: wine
Branch: master
Commit: 9450b0eb1e2995d351de3b3cb5097e863c73f14c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9450b0eb1e2995d351de3b3cb5097e863c73f14c
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sun Jul 10 18:50:43 2011 +0200
wingstreamer: Set target of parameter pointer, not parameter (Coverity).
---
dlls/winegstreamer/gstdemux.c | 2 +-
dlls/wineqtdecoder/qtsplitter.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index c28f9b7..6670d6b 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1475,7 +1475,7 @@ static HRESULT WINAPI GSTOutPin_DecideAllocator(BaseOutputPin *iface, IMemInputP
GSTOutPin *This = (GSTOutPin *)iface;
GSTImpl *GSTfilter = (GSTImpl*)This->pin.pin.pinInfo.pFilter;
- pAlloc = NULL;
+ *pAlloc = NULL;
if (GSTfilter->pInputPin.pAlloc)
hr = IMemInputPin_NotifyAllocator(pPin, GSTfilter->pInputPin.pAlloc, FALSE);
else
diff --git a/dlls/wineqtdecoder/qtsplitter.c b/dlls/wineqtdecoder/qtsplitter.c
index 9787dd3..c50afd3 100644
--- a/dlls/wineqtdecoder/qtsplitter.c
+++ b/dlls/wineqtdecoder/qtsplitter.c
@@ -1220,7 +1220,7 @@ static HRESULT WINAPI QTOutPin_DecideAllocator(BaseOutputPin *iface, IMemInputPi
QTOutPin *This = (QTOutPin *)iface;
QTSplitter *QTfilter = (QTSplitter*)This->pin.pin.pinInfo.pFilter;
- pAlloc = NULL;
+ *pAlloc = NULL;
if (QTfilter->pInputPin.pAlloc)
hr = IMemInputPin_NotifyAllocator(pPin, QTfilter->pInputPin.pAlloc, FALSE);
else
More information about the wine-cvs
mailing list