# HG changeset patch # User rtognimp # Date 1083514952 0 # Node ID a4f9c64d9d7567b439dfbe6c3e05aa8840e9a973 # Parent b969547bb0b1d52dfc772dc9c7182376554cb645 Fix hang for some asf video stream like http://193.219.139.115/ltv/zinios/news1830_20040501.wmv Patch by adland diff -r b969547bb0b1 -r a4f9c64d9d75 libmpdemux/asf_streaming.c --- 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; in_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;