aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-04 11:52:17 +0000
committerGravatar bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-04 11:52:17 +0000
commit27741bec6de6491821bbbfdc49d78f88469df8b7 (patch)
treed6a217b3a8b9050515b6302af9fda4101fdb4ba4 /libmpdemux
parent6e6b3fdac29fae6e8abd7748d0671fb99181cd2e (diff)
Added the ICY 403 "Service Forbiden" error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8767 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index cfbcf3a18f..623899e048 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -547,6 +547,9 @@ extension=NULL;
case 401: // Service Unavailable
mp_msg(MSGT_NETWORK,MSGL_ERR,"Error: ICY-Server return service unavailable, skipping!\n");
return -1;
+ case 403: // Service Forbidden
+ mp_msg(MSGT_NETWORK,MSGL_ERR,"Error: ICY-Server return 'Service Forbidden'\n");
+ return -1;
case 404: // Resource Not Found
mp_msg(MSGT_NETWORK,MSGL_ERR,"Error: ICY-Server couldn't find requested stream, skipping!\n");
return -1;