[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.57,1.58
Bertrand Baudet
bertrand at mplayerhq.hu
Tue Sep 17 21:52:30 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv21962
Modified Files:
open.c
Log Message:
Enable CDDB support only if the network layer is enabled.
Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- open.c 15 Sep 2002 20:51:55 -0000 1.57
+++ open.c 17 Sep 2002 19:52:27 -0000 1.58
@@ -74,8 +74,10 @@
#ifdef HAVE_CDDA
stream_t* open_cdda(char* dev,char* track);
+#ifdef STREAMING
stream_t* cddb_open(char* dev,char* track);
#endif
+#endif
// Open a new stream (stdin/file/vcd/url)
@@ -90,8 +92,10 @@
#ifdef HAVE_CDDA
if(filename && strncmp("cdda://",filename,7) == 0)
return open_cdda(cdrom_device ? cdrom_device : DEFAULT_CDROM_DEVICE,filename+7);
+#ifdef STREAMING
if(filename && strncmp("cddb://",filename,7) == 0)
return cddb_open(cdrom_device ? cdrom_device : DEFAULT_CDROM_DEVICE,filename+7);
+#endif
#endif
//============ Open VideoCD track ==============
More information about the MPlayer-cvslog
mailing list