fixed ffmpeg warning checking