No argument with the first part, but Cosby did not speak out against Obama but rather made very public remarks in support of him.
What I am referring to is this:
Obama told the protesters "Stay the course".
Cosby told them to pull their pants up and quit acting like a bunch of hoodlums.
Ergo, Cosby spoke out 'against' what Obama said to them.