mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
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
This commit is contained in:
parent
e3daf3ca75
commit
f285c25435
@ -526,7 +526,7 @@ asf_http_request(streaming_ctrl_t *streaming_ctrl) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user