changeset 25090:7f044afbbb43

Remove no more needed check
author voroshil
date Tue, 20 Nov 2007 10:02:19 +0000
parents 791f867d0124
children d0fda824ce5d
files stream/tvi_dshow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tvi_dshow.c	Tue Nov 20 10:01:14 2007 +0000
+++ b/stream/tvi_dshow.c	Tue Nov 20 10:02:19 2007 +0000
@@ -2033,7 +2033,7 @@
     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);