Commit d8a1ff99 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

demux/playlist/itml: remove unnecessary branch

An xml-document containing a tag without a name is ill-formed, so this
case will never happen in practice (as the xml-reader will error out

However, if it for some reason would happen, it will be handled due to
the fact that there will not be any handler matching "".
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 30f79d78
......@@ -179,11 +179,6 @@ static bool parse_dict( demux_t *p_demux, input_item_node_t *p_input_node,
/* element start tag */
if( !*node )
msg_Err( p_demux, "invalid XML stream" );
goto end;
/* choose handler */
for( p_handler = p_handlers;
p_handler->name && strcmp( node, p_handler->name );
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