changeset 16948:9b7925705f5b

Add another content-type for aac audio in shoutcast streams Fixes http://www.digitallyimported.com/aacplus/goapsy.pls
author rtognimp
date Tue, 08 Nov 2005 22:07:53 +0000
parents 622e75e0991b
children d771b3d98d9d
files libmpdemux/http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;