[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.73,1.74

Sascha Sommer CVS faust3 at mplayerhq.hu
Mon Mar 31 22:44:44 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv10757/libmpdemux

Modified Files:
	open.c 
Log Message:
fix compilation without TV support

Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- open.c	30 Mar 2003 20:11:25 -0000	1.73
+++ open.c	31 Mar 2003 20:44:20 -0000	1.74
@@ -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);



More information about the MPlayer-cvslog mailing list