diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-08 22:07:53 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-08 22:07:53 +0000 |
commit | 59235ce33ef79807d107ded4404c457a589ef6fe (patch) | |
tree | c34517f4779f654dfd530cd74417453ea30348a2 /libmpdemux | |
parent | 52946d2576bd29d7474747040aa59e7c64e30ec4 (diff) | |
download | mpv-59235ce33ef79807d107ded4404c457a589ef6fe.tar.bz2 mpv-59235ce33ef79807d107ded4404c457a589ef6fe.tar.xz |
Add another content-type for aac audio in shoutcast streams
Fixes http://www.digitallyimported.com/aacplus/goapsy.pls
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16949 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/http.c b/libmpdemux/http.c index 84d237ddc7..914d8de9df 100644 --- a/libmpdemux/http.c +++ b/libmpdemux/http.c @@ -768,7 +768,7 @@ static int http_streaming_start(stream_t *stream, int* file_format) { // 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; |