fix [23367]
authorRafaël Carré <funman@videolan.org>
Fri, 21 Dec 2007 21:38:35 +0000 (21:38 +0000)
committerRafaël Carré <funman@videolan.org>
Fri, 21 Dec 2007 21:38:35 +0000 (21:38 +0000)
modules/access/file.c

index 90ddd5a..577deec 100644 (file)
@@ -452,8 +452,8 @@ static int Seek (access_t *p_access, int64_t i_pos)
 
 #ifdef HAVE_MMAP
     if (p_access->pf_block == NULL)
-        lseek (p_access->p_sys->fd, i_pos, SEEK_SET);
 #endif
+        lseek (p_access->p_sys->fd, i_pos, SEEK_SET);
     return VLC_SUCCESS;
 }