Commit 2ebf6498 authored by Laurent Aimar's avatar Laurent Aimar

Make icecast server detection more robust.

(cherry picked from commit b35ccb11)
parent 91719eaa
......@@ -1408,6 +1408,8 @@ static int Request( access_t *p_access, int64_t i_tell )
p_sys->i_icy_meta = atoi( p );
if( p_sys->i_icy_meta < 0 )
p_sys->i_icy_meta = 0;
if( p_sys->i_icy_meta > 0 )
p_sys->b_icecast = true;
msg_Warn( p_access, "ICY metaint=%d", p_sys->i_icy_meta );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment