[vlc-devel] commit: Revert "file: rewind before read" ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jan 23 10:59:29 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 23 11:59:22 2010 +0200| [ef139b0b5c75c5bbd48686d72d59875ebc46c4c2] | committer: Rémi Denis-Courmont
Revert "file: rewind before read"
This reverts commit 09049343c7bdaf39aa5840710260141962e4bdc2.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef139b0b5c75c5bbd48686d72d59875ebc46c4c2
---
modules/access/file.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/modules/access/file.c b/modules/access/file.c
index a43732f..1db875d 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -145,11 +145,7 @@ int Open( vlc_object_t *p_this )
int oldfd = strtol (path, &end, 10);
if (*end == '\0')
- {
fd = dup (oldfd);
- if (fd != -1)
- lseek (fd, 0, SEEK_SET);
- }
#ifdef HAVE_FDOPENDIR
else if (*end == '/' && end > path)
{
More information about the vlc-devel
mailing list