changeset 9773:8da533b7e3f0

fix compilation without TV support
author faust3
date Mon, 31 Mar 2003 20:44:20 +0000
parents 6586ec1f6ee4
children 238d0f8052d3
files libmpdemux/open.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/open.c	Mon Mar 31 17:32:46 2003 +0000
+++ b/libmpdemux/open.c	Mon Mar 31 20:44:20 2003 +0000
@@ -543,10 +543,12 @@
     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);