[MPlayer-cvslog] CVS: main/libmpdemux http.c,1.32,1.33
Roberto Togni CVS
syncmail at mplayerhq.hu
Tue Nov 8 23:07:55 CET 2005
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv8215
Modified Files:
http.c
Log Message:
Add another content-type for aac audio in shoutcast streams
Fixes http://www.digitallyimported.com/aacplus/goapsy.pls
Index: http.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/http.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- http.c 6 Nov 2005 16:10:39 -0000 1.32
+++ http.c 8 Nov 2005 22:07:53 -0000 1.33
@@ -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;
More information about the MPlayer-cvslog
mailing list