Commit 606f9edb authored by Rémi Duraffort's avatar Rémi Duraffort

access_ftp: uneeded var_get.

parent ce3b16b0
......@@ -525,7 +525,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
bool *pb_bool;
int *pi_int;
int64_t *pi_64;
vlc_value_t val;
switch( i_query )
{
......@@ -555,7 +554,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
var_Get( p_access, "ftp-caching", &val );
*pi_64 = (int64_t)var_GetInteger( p_access, "ftp-caching" ) * INT64_C(1000);
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment