do not fault if Filter_Create failed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3457 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2001-12-11 14:48:42 +00:00
parent f7527242b1
commit 26fc72a94e
1 changed files with 6 additions and 0 deletions

View File

@ -143,6 +143,12 @@ DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEAD
this->m_pDS_Filter = DS_FilterCreate(dllname, guid, &this->m_sOurType, &this->m_sDestType);
if (!this->m_pDS_Filter)
{
printf("Failed to create DirectShow filter\n");
return 0;
}
if (!flip)
{