Fix for ffmpeg