Commit 9984e74d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

file: do not attempt to open(NULL, ...); (fix #6796)

parent 793ac1e6
......@@ -169,6 +169,8 @@ int FileOpen( vlc_object_t *p_this )
const char *path = p_access->psz_filepath;
if (unlikely(path == NULL))
msg_Dbg (p_access, "opening file `%s'", path);
fd = vlc_open (path, O_RDONLY | O_NONBLOCK);
if (fd == -1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment