# HG changeset patch # User rtognimp # Date 1131487673 0 # Node ID 9b7925705f5b1f8c0600ba56a77b940914bb52c3 # Parent 622e75e0991b7ae6370cda08fb7d52ee3d9bc90b Add another content-type for aac audio in shoutcast streams Fixes http://www.digitallyimported.com/aacplus/goapsy.pls diff -r 622e75e0991b -r 9b7925705f5b libmpdemux/http.c --- a/libmpdemux/http.c Tue Nov 08 20:03:48 2005 +0000 +++ b/libmpdemux/http.c Tue Nov 08 22:07:53 2005 +0000 @@ -768,7 +768,7 @@ // handling like later if ( (field_data = http_get_field(http_hdr, "content-type")) != NULL && (!strcmp(field_data, "video/nsv") || !strcmp(field_data, "misc/ultravox"))) *file_format = DEMUXER_TYPE_NSV; - else if ( (field_data = http_get_field(http_hdr, "content-type")) != NULL && (!strcmp(field_data, "audio/aacp"))) + else if ( (field_data = http_get_field(http_hdr, "content-type")) != NULL && (!strcmp(field_data, "audio/aacp") || !strcmp(field_data, "audio/aac"))) *file_format = DEMUXER_TYPE_AAC; else *file_format = DEMUXER_TYPE_AUDIO;