Commit 640fe732 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix Stream title. Patch by Diego "Flameeyes" Petteno

parent 35580f50
...@@ -641,7 +641,8 @@ static int ReadICYMeta( access_t *p_access ) ...@@ -641,7 +641,8 @@ static int ReadICYMeta( access_t *p_access )
p += strlen( "StreamTitle=" ); p += strlen( "StreamTitle=" );
if( *p == '\'' || *p == '"' ) if( *p == '\'' || *p == '"' )
{ {
char *psz = strchr( &p[1], p[0] ); char closing[] = { p[0], ';', '\0' };
char *psz = strstr( &p[1], closing );
if( !psz ) if( !psz )
psz = strchr( &p[1], ';' ); psz = strchr( &p[1], ';' );
......
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