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

git at videolan.org git at videolan.org
Tue Aug 3 22:56:14 CEST 2010


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

FTP: directories cannot be sought

(cherry picked from commit bfd061bbf3aaa9da2d648de8c79d9f0ee75bfac9)

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

 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 7acc674..4d217f3 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -582,7 +582,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