[MPlayer-cvslog] r25118 - trunk/stream/tvi_dshow.c

voroshil subversion at mplayerhq.hu
Tue Nov 20 11:02:20 CET 2007


Author: voroshil
Date: Tue Nov 20 11:02:19 2007
New Revision: 25118

Log:
Remove no more needed check


Modified:
   trunk/stream/tvi_dshow.c

Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c	(original)
+++ trunk/stream/tvi_dshow.c	Tue Nov 20 11:02:19 2007
@@ -2033,7 +2033,7 @@ static HRESULT get_available_formats_str
     mp_msg(MSGT_TV, MSGL_DBG4,
 	   "tvi_dshow: get_available_formats_stream called\n");
 
-    if (!chain->pStreamConfig || !chain->majortype)
+    if (!chain->pStreamConfig)
 	return E_POINTER;
 
     hr=OLE_CALL_ARGS(chain->pStreamConfig, GetNumberOfCapabilities, &count, &size);



More information about the MPlayer-cvslog mailing list