diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-20 10:02:19 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-20 10:02:19 +0000 |
commit | 7c9a04f6c04153f2d5efda906c2c6ae8a4fb6e09 (patch) | |
tree | eb0c1e95c700452e20a77f7c92af90c817ccc030 /stream/tvi_dshow.c | |
parent | 298dd31e32e74553e68886b7b2144a190a0b6608 (diff) | |
download | mpv-7c9a04f6c04153f2d5efda906c2c6ae8a4fb6e09.tar.bz2 mpv-7c9a04f6c04153f2d5efda906c2c6ae8a4fb6e09.tar.xz |
Remove no more needed check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25118 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_dshow.c')
-rw-r--r-- | stream/tvi_dshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |