[vlc-commits] [Git][videolan/vlc][3.0.x] sftp: fix seek for large files on 32-bit OS

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Mon Jul 1 10:08:21 UTC 2024



Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC


Commits:
29ac3349 by Aleksey Vasenev at 2024-07-01T09:42:46+00:00
sftp: fix seek for large files on 32-bit OS

(cherry picked from commit 4698e0336447de8dc6f7214743082cc55b6ebd77)

- - - - -


1 changed file:

- modules/access/sftp.c


Changes:

=====================================
modules/access/sftp.c
=====================================
@@ -547,7 +547,7 @@ static int Seek( stream_t* p_access, uint64_t i_pos )
 {
     access_sys_t *sys = p_access->p_sys;
 
-    libssh2_sftp_seek( sys->file, i_pos );
+    libssh2_sftp_seek64( sys->file, i_pos );
     return VLC_SUCCESS;
 }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/29ac334929847727e4041ba8d1aa3cb36c6be299

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/29ac334929847727e4041ba8d1aa3cb36c6be299
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list