Commit 3992ea9f authored by Clément Stenac's avatar Clément Stenac

Hopefully fix bug with playlist parsing (line-feed problem)

parent ba3b2639
......@@ -45,7 +45,7 @@ char *stream_ReadLine( stream_t *s )
int i = 0;
i_data = stream_Peek( s, &p_data, MAX_LINE );
while( i < i_data && p_data[i] != '\n' )
while( i < i_data && p_data[i] != '\n' && i < i_data && p_data[i] != '\r')
{
i++;
}
......
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