Commit 975c0e3f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix segmentation fault

parent 81487c3d
......@@ -275,7 +275,7 @@ static int Open( vlc_object_t *p_this )
if (psz_parser[0] == '[')
psz_parser = strchr (psz_parser, ']');
psz_parser = strchr (psz_parser, ':');
psz_parser = strchr (psz_parser ?: psz_dst_addr, ':');
if (psz_parser != NULL)
{
*psz_parser++ = '\0';
......
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