[MPlayer-cvslog] CVS: main/libmpdemux http.c,1.30,1.31

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Nov 5 16:32:52 CET 2005


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv30440

Modified Files:
	http.c 
Log Message:
Use correct demuxer type for aac in shoutcast streams 
(content-type="audio/aacp").
Fixes http://160.79.128.40:7040 (it does not work with internal faad)


Index: http.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/http.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- http.c	28 Sep 2005 15:43:24 -0000	1.30
+++ http.c	5 Nov 2005 15:32:50 -0000	1.31
@@ -768,6 +768,8 @@
 					// 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")))
+						*file_format = DEMUXER_TYPE_AAC;
 					else
 						*file_format = DEMUXER_TYPE_AUDIO;
 					return 0;




More information about the MPlayer-cvslog mailing list