Mercurial > mplayer.hg
changeset 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 | e7c8200ffdc5 |
children | eb79a6192b2b |
files | libmpdemux/asf_streaming.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;