fixed the ffmpeg check