Commit 437df0ea authored by Thomas Guillem's avatar Thomas Guillem

playlist/directory: fix wrong warning

parent e9d1c94e
......@@ -69,11 +69,10 @@ static int Demux( demux_t *p_demux )
if( stream_ReadDir( p_demux->s, p_node ) )
{
msg_Warn( p_demux, "unable to read directory" );
input_item_node_Delete( p_node );
return VLC_EGENERIC;
}
else
msg_Warn( p_demux, "unable to read directory" );
input_item_node_PostAndDelete( p_node );
return VLC_SUCCESS;
......
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