Commit b35ccb11 authored by Laurent Aimar's avatar Laurent Aimar

Make icecast server detection more robust.

parent ef2bc53a
......@@ -1410,6 +1410,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