ffmpeg: stop using deprecated codec flags