wingstreamer: Set target of parameter pointer, not parameter (Coverity).

This commit is contained in:
Marcus Meissner 2011-07-10 18:50:43 +02:00 committed by Alexandre Julliard
parent 5d0d2ef893
commit 9450b0eb1e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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