From 7c9a04f6c04153f2d5efda906c2c6ae8a4fb6e09 Mon Sep 17 00:00:00 2001 From: voroshil Date: Tue, 20 Nov 2007 10:02:19 +0000 Subject: Remove no more needed check git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25118 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_dshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index e32015f76b..36ddf5e8b3 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -2033,7 +2033,7 @@ static HRESULT get_available_formats_stream(chain_t *chain) 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); -- cgit v1.2.3