ffmpeg deprecated func. warning fixed