[vlc-devel] commit: Do not add subdirectories entries ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 28 14:36:15 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 28 15:38:56 2008 +0300| [bea1c07cbc4b1e9aaded88e2ad18eb4ebf8c7fda] | committer: Rémi Denis-Courmont 

Do not add subdirectories entries

Otherwise we'll collapse and expand the same directory over and over.

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

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

diff --git a/modules/access/directory.c b/modules/access/directory.c
index 93b34f4..000e3ca 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -326,6 +326,7 @@ static block_t *Block (access_t *p_access)
                 return NULL;
             }
             p_sys->current = sub;
+            return NULL;
         }
         else
             free (sub);




More information about the vlc-devel mailing list