From a62e8355b5f5f4e9ca6409dc7e7f29dce90808ed Mon Sep 17 00:00:00 2001 From: faust3 Date: Mon, 31 Mar 2003 20:44:20 +0000 Subject: [PATCH] fix compilation without TV support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9774 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/open.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 808a92b793..b5f36f7d8b 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -543,10 +543,12 @@ if(strncmp("dvbin://",filename,8) == 0) if (!stream) return(NULL); if(strncmp("mf://",filename,5) == 0) { *file_format = DEMUXER_TYPE_MF; +#ifdef USE_TV } else { *file_format = DEMUXER_TYPE_TV; if(filename[5] != '\0') tv_param_channel = strdup(filename + 5); +#endif } stream->url= filename[5] != '\0' ? strdup(filename + 5) : NULL; return(stream);