[vlc-commits] directory: flawed logic
Rémi Denis-Courmont
git at videolan.org
Thu Dec 31 14:46:14 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Dec 31 15:31:11 2015 +0200| [8ad73239becb4b180a196c27c38ac16dccf6a474] | committer: Rémi Denis-Courmont
directory: flawed logic
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ad73239becb4b180a196c27c38ac16dccf6a474
---
modules/access/directory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/directory.c b/modules/access/directory.c
index 157099d..a6a044b 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -163,8 +163,8 @@ input_item_t *DirRead(access_t *access)
}
/* Create an input item for the current entry */
- char *encoded= vlc_uri_encode(entry);
- if (unlikely(entry == NULL))
+ char *encoded = vlc_uri_encode(entry);
+ if (unlikely(encoded == NULL))
continue;
char *uri;
More information about the vlc-commits
mailing list