assert that pf_control is available
static inline int access2_vaControl( access_t *p_access, int i_query, va_list args )
{
static inline int access2_vaControl( access_t *p_access, int i_query, va_list args )
{
- if( !p_access || !p_access->pf_control ) return VLC_EGENERIC;
+ if( !p_access ) return VLC_EGENERIC;
+ assert( p_access->pf_control );
return p_access->pf_control( p_access, i_query, args );
}
return p_access->pf_control( p_access, i_query, args );
}