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

smb: directories have no size

parent fcbfac22
......@@ -413,6 +413,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->size;
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