On solitary waves in case of amplitude-dependent nonlinearity