Add ffmpeg defines to global file buffer functions