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

Revert "file: rewind before read"

This reverts commit 09049343.
parent 44a7af39
...@@ -145,11 +145,7 @@ int Open( vlc_object_t *p_this ) ...@@ -145,11 +145,7 @@ int Open( vlc_object_t *p_this )
int oldfd = strtol (path, &end, 10); int oldfd = strtol (path, &end, 10);
if (*end == '\0') if (*end == '\0')
{
fd = dup (oldfd); fd = dup (oldfd);
if (fd != -1)
lseek (fd, 0, SEEK_SET);
}
#ifdef HAVE_FDOPENDIR #ifdef HAVE_FDOPENDIR
else if (*end == '/' && end > path) else if (*end == '/' && end > path)
{ {
......
Supports Markdown
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