strmbase: Check for a NULL media type in IPin::ReceiveConnection().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
490b245a20
commit
88898cf560
|
@ -633,6 +633,9 @@ HRESULT WINAPI BaseInputPinImpl_ReceiveConnection(IPin * iface, IPin * pReceiveP
|
|||
TRACE("(%p)->(%p, %p)\n", This, pReceivePin, pmt);
|
||||
strmbase_dump_media_type(pmt);
|
||||
|
||||
if (!pmt)
|
||||
return E_POINTER;
|
||||
|
||||
EnterCriticalSection(&This->pin.filter->csFilter);
|
||||
{
|
||||
if (This->pin.filter->state != State_Stopped)
|
||||
|
|
Loading…
Reference in New Issue