# HG changeset patch # User reimar # Date 1203106816 0 # Node ID c7f41f9e2eb8abdbac0ee56a129da9c07af30cea # Parent 87331ea89425872cd81b69653e2bd7383d9274a8 Detect IceCast also by Icy-MetaInt header part in http_streaming_start(), as in fixup_open() diff -r 87331ea89425 -r c7f41f9e2eb8 stream/http.c --- a/stream/http.c Fri Feb 15 07:50:27 2008 +0000 +++ b/stream/http.c Fri Feb 15 20:20:16 2008 +0000 @@ -756,7 +756,8 @@ } // Check if the response is an ICY status_code reason_phrase - if( !strcasecmp(http_hdr->protocol, "ICY") ) { + if( !strcasecmp(http_hdr->protocol, "ICY") || + http_get_field(http_hdr, "Icy-MetaInt") ) { switch( http_hdr->status_code ) { case 200: { // OK char *field_data = NULL;