vlc | branch: master | Petri Hintukainen <[email protected]> | Thu Sep 10 10:41:29 2015 +0300| [d6b04cde93947ca114b4d8d786ea2beaf8ee3097] | committer: Jean-Baptiste Kempf
sftp: remove unused sftp-readsize > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6b04cde93947ca114b4d8d786ea2beaf8ee3097 --- modules/access/sftp.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/access/sftp.c b/modules/access/sftp.c index 0caad68..a1b0a57 100644 --- a/modules/access/sftp.c +++ b/modules/access/sftp.c @@ -52,8 +52,6 @@ static void Close( vlc_object_t* ); #define PORT_TEXT N_("SFTP port") #define PORT_LONGTEXT N_("SFTP port number to use on the server") -#define MTU_TEXT N_("Read size") -#define MTU_LONGTEXT N_("Size of the request for reading access") #define USER_TEXT N_("Username") #define USER_LONGTEXT N_("Username that will be used for the connection, " \ "if no username is set in the URL.") @@ -67,7 +65,6 @@ vlc_module_begin () set_capability( "access", 0 ) set_category( CAT_INPUT ) set_subcategory( SUBCAT_INPUT_ACCESS ) - add_integer( "sftp-readsize", 8192, MTU_TEXT, MTU_LONGTEXT, true ) add_integer( "sftp-port", 22, PORT_TEXT, PORT_LONGTEXT, true ) add_string( "sftp-user", NULL, USER_TEXT, USER_LONGTEXT, false ) add_password( "sftp-pwd", NULL, PASS_TEXT, PASS_LONGTEXT, false ) @@ -93,7 +90,6 @@ struct access_sys_t LIBSSH2_SFTP* sftp_session; LIBSSH2_SFTP_HANDLE* file; uint64_t filesize; - size_t i_read_size; /* browser */ char* psz_username_opt; @@ -314,8 +310,6 @@ static int Open( vlc_object_t* p_this ) goto error; } - p_sys->i_read_size = var_InheritInteger( p_access, "sftp-readsize" ); - free( psz_password ); free( psz_username ); free( psz_remote_home ); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
