changeset 5892:2e71feda5e0f

Added ICY error 401: Service unavailable.
author bertrand
date Sun, 28 Apr 2002 22:37:35 +0000
parents f7bbb37940d6
children 6a6107da2d82
files libmpdemux/network.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/network.c	Sun Apr 28 21:05:09 2002 +0000
+++ b/libmpdemux/network.c	Sun Apr 28 22:37:35 2002 +0000
@@ -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;