[vlc-commits] playlist/directory: fix wrong warning
Thomas Guillem
git at videolan.org
Tue Apr 28 11:08:04 CEST 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 25 15:05:12 2015 +0100| [437df0ea5ed3e94852ebc493fb0f1e2aebc26d20] | committer: Thomas Guillem
playlist/directory: fix wrong warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=437df0ea5ed3e94852ebc493fb0f1e2aebc26d20
---
modules/demux/playlist/directory.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/demux/playlist/directory.c b/modules/demux/playlist/directory.c
index a73a138..9b7ffc2 100644
--- a/modules/demux/playlist/directory.c
+++ b/modules/demux/playlist/directory.c
@@ -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;
More information about the vlc-commits
mailing list