- if (!strcmp (p_access->psz_path, "-"))
- fd = dup (0);
- else
- {
- msg_Dbg (p_access, "opening file %s", path);
- fd = utf8_open (path, O_RDONLY | O_NOCTTY, 0666);
- }
+ msg_Dbg (p_access, "opening file %s", path);
+ fd = vlc_open (path, O_RDONLY | O_NOCTTY);