From 9450b0eb1e2995d351de3b3cb5097e863c73f14c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 10 Jul 2011 18:50:43 +0200 Subject: [PATCH] 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 c28f9b7cabd..6670d6b7934 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 9787dd3d1fe..c50afd3797a 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