Mercurial > mplayer.hg
changeset 12396:a4f9c64d9d75
Fix hang for some asf video stream like http://193.219.139.115/ltv/zinios/news1830_20040501.wmv
Patch by adland
author | rtognimp |
---|---|
date | Sun, 02 May 2004 16:22:32 +0000 |
parents | b969547bb0b1 |
children | adfd98f1abf7 |
files | libmpdemux/asf_streaming.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c Sun May 02 14:26:28 2004 +0000 +++ b/libmpdemux/asf_streaming.c Sun May 02 16:22:32 2004 +0000 @@ -541,7 +541,7 @@ if(asf_http_ctrl->n_video > 0) { for( i=0; i<asf_http_ctrl->n_video ; i++ ) { stream_id = asf_http_ctrl->video_streams[i]; - if(stream_id == asf_http_ctrl->video_id) { + if(stream_id == asf_http_ctrl->video_id || !asf_http_ctrl->video_id) { enable = 0; } else { enable = 2;