Fixes for ffmpeg-2.2
ffmpeg-2.2: Use an include file for the FF_API defines (to avoid scope problems)