Super quick one – came across this issue again today and had to search for the solution, so as note to self:
To install ffmpeg via homebrew you need to specify which compiler to use on 10.7 at least:
brew install ffmpeg --use-clang
Cheers,
Mark