Fix warnings from ffmpeg wrapper