[vlc-commits] commit: FTP: directories cannot be sought ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue Aug 3 22:54:09 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug  3 23:52:26 2010 +0300| [bfd061bbf3aaa9da2d648de8c79d9f0ee75bfac9] | committer: Rémi Denis-Courmont 

FTP: directories cannot be sought

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bfd061bbf3aaa9da2d648de8c79d9f0ee75bfac9
---

 modules/access/ftp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/ftp.c b/modules/access/ftp.c
index 75d595a..07cbf9b 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -584,7 +584,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
         /* */
         case ACCESS_CAN_SEEK:
             pb_bool = (bool*)va_arg( args, bool* );
-            *pb_bool = true;
+            *pb_bool = !p_access->p_sys->directory;
             break;
         case ACCESS_CAN_FASTSEEK:
             pb_bool = (bool*)va_arg( args, bool* );



More information about the vlc-commits mailing list