diff libmpdemux/asf_streaming.c @ 12224:acb8ed9cfe70

Fix for some audio asf streams like http://ms.bandeapart.fm/bap/albums/973/6573_h_07-Patience.asf Patch by adland
author rtognimp
date Sat, 17 Apr 2004 16:47:52 +0000
parents 786407b1bc78
children 711cc5720939
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Sat Apr 17 16:46:41 2004 +0000
+++ b/libmpdemux/asf_streaming.c	Sat Apr 17 16:47:52 2004 +0000
@@ -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;