Commit fcbfac22 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sftp: directories have no size

parent c355964d
......@@ -429,6 +429,8 @@ static int Control( access_t* p_access, int i_query, va_list args )
break;
case ACCESS_GET_SIZE:
if( p_access->pf_readdir != NULL )
return VLC_EGENERIC;
*va_arg( args, uint64_t * ) = p_access->p_sys->filesize;
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