[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.44,1.45

Roberto Togni CVS syncmail at mplayerhq.hu
Sun May 2 18:22:34 CEST 2004


CVS change done by Roberto Togni CVS

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

Modified Files:
	asf_streaming.c 
Log Message:
Fix hang for some asf video stream like http://193.219.139.115/ltv/zinios/news1830_20040501.wmv
Patch by adland


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- asf_streaming.c	25 Apr 2004 12:41:01 -0000	1.44
+++ asf_streaming.c	2 May 2004 16:22:32 -0000	1.45
@@ -541,7 +541,7 @@
 			if(asf_http_ctrl->n_video > 0) {
 				for( i=0; i<asf_http_ctrl->n_video ; i++ ) {
 					stream_id = asf_http_ctrl->video_streams[i];
-					if(stream_id == asf_http_ctrl->video_id) {
+					if(stream_id == asf_http_ctrl->video_id || !asf_http_ctrl->video_id) {
 						enable = 0;
 					} else {
 						enable = 2;




More information about the MPlayer-cvslog mailing list