Fix compilation with latest ffmpeg