[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.91,1.92

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Apr 24 15:19:22 CEST 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv6420

Modified Files:
	open.c 
Log Message:
Stop parsing an url after connection failure
Patch by adland


Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- open.c	17 Apr 2004 16:46:40 -0000	1.91
+++ open.c	24 Apr 2004 13:19:20 -0000	1.92
@@ -527,8 +527,8 @@
         stream=new_stream(f,STREAMTYPE_STREAM);
 	if( streaming_start( stream, file_format, url )<0){
           mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_UnableOpenURL, filename);
-	  //url_free(url);
-	  //return NULL;
+	  url_free(url);
+	  return NULL;
 	} else {
         mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_ConnToServer, url->hostname );
 	url_free(url);




More information about the MPlayer-cvslog mailing list