[Mplayer-cvslog] CVS: main/libmpdemux network.c,1.41,1.42

Bertrand Baudet bertrand at mplayerhq.hu
Mon Apr 29 00:37:38 CEST 2002


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

Modified Files:
	network.c 
Log Message:
Added ICY error 401: Service unavailable.


Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- network.c	27 Apr 2002 20:42:02 -0000	1.41
+++ network.c	28 Apr 2002 22:37:35 -0000	1.42
@@ -436,6 +436,9 @@
 						*file_format = DEMUXER_TYPE_AUDIO;
 						return 0;
 					}
+					case 401: // Service Unavailable
+						printf("Error: ICY-Server return service unavailable, skipping!\n");
+						return -1;
 					case 404: // Resource Not Found
 						printf("Error: ICY-Server couldn't find requested stream, skipping!\n");
 						return -1;




More information about the MPlayer-cvslog mailing list