Commit 17dd86ef authored by Anatoliy Anischovich's avatar Anatoliy Anischovich Committed by Rémi Denis-Courmont

demux: Fix XSPF xml:base parsing (fixes #5697)

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent f952f16e
......@@ -213,10 +213,10 @@ static bool parse_playlist_node COMPLEX_INTERFACE
/* attribute: xmlns */
else if (!strcmp(name, "xmlns") || !strcmp(name, "xmlns:vlc"))
;
else if (!strcmp(name, "xml:base") && psz_value)
else if (!strcmp(name, "xml:base"))
{
free(p_demux->p_sys->psz_base);
p_demux->p_sys->psz_base = strdup(psz_value);
p_demux->p_sys->psz_base = strdup(value);
}
/* unknown attribute */
else
......
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