# HG changeset patch # User alex # Date 1008082122 0 # Node ID ebab4801241f1463be473cc2becd417a954d3c1d # Parent 921a78c7b4aa7c3420cb6204b4301c58a225c716 do not fault if Filter_Create failed diff -r 921a78c7b4aa -r ebab4801241f loader/dshow/DS_VideoDecoder.c --- a/loader/dshow/DS_VideoDecoder.c Tue Dec 11 09:23:57 2001 +0000 +++ b/loader/dshow/DS_VideoDecoder.c Tue Dec 11 14:48:42 2001 +0000 @@ -143,6 +143,12 @@ 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) {