X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faccess%2Fftp.c;h=5ef423e2a1bf8266ab942b576ae40489f0ceb64c;hb=be19f7facceb129ef8977ed0ad2b41c593954629;hp=0eea41d4aaad3441a6f5d7c8c07f2c96c2a398e4;hpb=8d305dc590288f98f48e245e3cb80fc9d84fc695;p=vlc diff --git a/modules/access/ftp.c b/modules/access/ftp.c index 0eea41d4aa..5ef423e2a1 100644 --- a/modules/access/ftp.c +++ b/modules/access/ftp.c @@ -553,9 +553,8 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer ) *****************************************************************************/ static int Control( access_t *p_access, int i_query, va_list args ) { - bool *pb_bool; - int *pi_int; - int64_t *pi_64; + bool *pb_bool; + int64_t *pi_64; switch( i_query ) { @@ -578,11 +577,6 @@ static int Control( access_t *p_access, int i_query, va_list args ) break; /* */ - case ACCESS_GET_MTU: - pi_int = (int*)va_arg( args, int * ); - *pi_int = 0; - break; - case ACCESS_GET_PTS_DELAY: pi_64 = (int64_t*)va_arg( args, int64_t * ); *pi_64 = (int64_t)var_GetInteger( p_access, "ftp-caching" ) * INT64_C(1000);