[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.42,1.43

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Apr 17 18:47:56 CEST 2004


CVS change done by Roberto Togni CVS

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

Modified Files:
	asf_streaming.c 
Log Message:
Fix for some audio asf streams like http://ms.bandeapart.fm/bap/albums/973/6573_h_07-Patience.asf
Patch by adland


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- asf_streaming.c	1 Nov 2003 14:10:32 -0000	1.42
+++ asf_streaming.c	17 Apr 2004 16:47:52 -0000	1.43
@@ -526,7 +526,7 @@
 			if(asf_http_ctrl->n_audio > 0) {
 				for( i=0; i<asf_http_ctrl->n_audio ; i++ ) {
 					stream_id = asf_http_ctrl->audio_streams[i];
-					if(stream_id == asf_http_ctrl->audio_id) {
+					if(stream_id == asf_http_ctrl->audio_id || !asf_http_ctrl->audio_id) {
 						enable = 0;
 					} else {
 						enable = 2;




More information about the MPlayer-cvslog mailing list