Added ICY error 401: Service unavailable.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5893 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
bertrand 2002-04-28 22:37:35 +00:00
parent c041927ead
commit bd65848f56
1 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,9 @@ extension=NULL;
*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;