From f285c254352202f991e5b429825f0b77e69c4433 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Sat, 17 Apr 2004 16:47:52 +0000 Subject: [PATCH] Fix for some audio asf streams like http://ms.bandeapart.fm/bap/albums/973/6573_h_07-Patience.asf Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12225 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asf_streaming.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c index 879d693d15..d14fdc5950 100644 --- a/libmpdemux/asf_streaming.c +++ b/libmpdemux/asf_streaming.c @@ -526,7 +526,7 @@ asf_http_request(streaming_ctrl_t *streaming_ctrl) { if(asf_http_ctrl->n_audio > 0) { for( i=0; in_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;