wingstreamer: Set target of parameter pointer, not parameter (Coverity).
This commit is contained in:
parent
5d0d2ef893
commit
9450b0eb1e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue