[vlc-devel] commit: directory: Return VLC_EGENERIC in case of interruption ( playlist death). (Pierre d'Herbemont )

git version control git at videolan.org
Sun Jul 13 23:59:26 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Mon Jul 14 00:01:47 2008 +0200| [878902ea67f2132828b90304af325e99e5a4454a]

directory: Return VLC_EGENERIC in case of interruption (playlist death).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=878902ea67f2132828b90304af325e99e5a4454a
---

 modules/access/directory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/directory.c b/modules/access/directory.c
index f011ad5..3b8810e 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -375,7 +375,7 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
     playlist_item_t *p_node;
 
     if( !vlc_object_alive( p_playlist ) )
-        return VLC_SUCCESS;
+        return VLC_EGENERIC;
 
     char **ppsz_extensions = NULL;
     int i_extensions = 0;




More information about the vlc-devel mailing list