Commit 88898cf5 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Check for a NULL media type in IPin::ReceiveConnection().

parent 490b245a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment