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;
|
GSTOutPin *This = (GSTOutPin *)iface;
|
||||||
GSTImpl *GSTfilter = (GSTImpl*)This->pin.pin.pinInfo.pFilter;
|
GSTImpl *GSTfilter = (GSTImpl*)This->pin.pin.pinInfo.pFilter;
|
||||||
|
|
||||||
pAlloc = NULL;
|
*pAlloc = NULL;
|
||||||
if (GSTfilter->pInputPin.pAlloc)
|
if (GSTfilter->pInputPin.pAlloc)
|
||||||
hr = IMemInputPin_NotifyAllocator(pPin, GSTfilter->pInputPin.pAlloc, FALSE);
|
hr = IMemInputPin_NotifyAllocator(pPin, GSTfilter->pInputPin.pAlloc, FALSE);
|
||||||
else
|
else
|
||||||
|
|
|
@ -1220,7 +1220,7 @@ static HRESULT WINAPI QTOutPin_DecideAllocator(BaseOutputPin *iface, IMemInputPi
|
||||||
QTOutPin *This = (QTOutPin *)iface;
|
QTOutPin *This = (QTOutPin *)iface;
|
||||||
QTSplitter *QTfilter = (QTSplitter*)This->pin.pin.pinInfo.pFilter;
|
QTSplitter *QTfilter = (QTSplitter*)This->pin.pin.pinInfo.pFilter;
|
||||||
|
|
||||||
pAlloc = NULL;
|
*pAlloc = NULL;
|
||||||
if (QTfilter->pInputPin.pAlloc)
|
if (QTfilter->pInputPin.pAlloc)
|
||||||
hr = IMemInputPin_NotifyAllocator(pPin, QTfilter->pInputPin.pAlloc, FALSE);
|
hr = IMemInputPin_NotifyAllocator(pPin, QTfilter->pInputPin.pAlloc, FALSE);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue