# HG changeset patch # User rtognimp # Date 1082220472 0 # Node ID acb8ed9cfe70fc499291e7b516ee7597ab81442b # Parent e7c8200ffdc5b04a3f3829ca2c919942e36634e0 Fix for some audio asf streams like http://ms.bandeapart.fm/bap/albums/973/6573_h_07-Patience.asf Patch by adland diff -r e7c8200ffdc5 -r acb8ed9cfe70 libmpdemux/asf_streaming.c --- 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; 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;