[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.87,1.88
Alex Beregszaszi
alex at mplayerhq.hu
Mon Aug 25 23:41:13 CEST 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv650
Modified Files:
open.c
Log Message:
added a workaround to get rid of 'Unable to open URL: mf://*.jpg' and such nonsense (tv,mf,vcd)
Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- open.c 13 Aug 2003 21:32:28 -0000 1.87
+++ open.c 25 Aug 2003 21:40:38 -0000 1.88
@@ -475,7 +475,10 @@
}
#endif
- url = url_new(filename);
+ // FIXME: to avoid nonsense error messages...
+ if (strncmp("tv://", filename, 5) && strncmp("mf://", filename, 5) &&
+ strncmp("vcd://", filename, 6))
+ url = url_new(filename);
if(url) {
if (strcmp(url->protocol, "smb")==0){
#ifdef LIBSMBCLIENT
More information about the MPlayer-cvslog
mailing list