changeset 3854:faba4117b0d0

remove unneeded seeking from vfs_is_streaming().
author William Pitcock <nenolod@atheme.org>
date Sat, 27 Oct 2007 07:04:31 -0500
parents 4eeb4c36867c
children a9b7b4145664
files src/audacious/vfs.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/vfs.c	Sat Oct 27 07:04:14 2007 -0500
+++ b/src/audacious/vfs.c	Sat Oct 27 07:04:31 2007 -0500
@@ -475,9 +475,7 @@
     if(!file)
         return FALSE;
 
-    curpos = file->base->vfs_ftell_impl(file);
     size = file->base->vfs_fsize_impl(file);
-    file->base->vfs_fseek_impl(file, curpos, SEEK_SET);
 
     if(size == -1)
         return TRUE;