mirror of
https://github.com/videolan/vlc.git
synced 2024-11-27 20:03:31 +08:00
directory: flawed logic
This commit is contained in:
parent
573c2015f2
commit
8ad73239be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user