Compile ffmpeg from scratch.
Revert "Ripping out USE_NEW_FFMPEG_ALLOC_API"

This reverts commit 92b08c8a786b13fcec62ec034ae64c7b5a585bf8.