mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue