[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk url.c,1.11,1.12

Alex Beregszaszi alex at mplayerhq.hu
Fri May 23 14:58:58 CEST 2003


Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var/tmp.root/cvs-serv32398

Modified Files:
	url.c 
Log Message:
support for pnm and rtsp stream opening with gui, patch by Ambrose Li <a.c.li at ieee.org>

Index: url.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/url.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- url.c	2 Jan 2003 15:48:29 -0000	1.11
+++ url.c	23 May 2003 12:58:13 -0000	1.12
@@ -66,7 +66,11 @@
 
    if ( str )
     {
-     if ( strncmp( str,"http://",7 ) && strncmp( str,"ftp://",6 ) && strncmp( str,"mms://",6 ) )
+     if ( strncmp( str,"http://",7 )
+	&& strncmp( str,"ftp://",6 )
+	&& strncmp( str,"mms://",6 )
+	&& strncmp( str,"pnm://",6 )
+	&& strncmp( str,"rtsp://",7 ) )
       {
        gchar * tmp;
        tmp=malloc( strlen( str ) + 8 );



More information about the MPlayer-cvslog mailing list