Credit ffmpeg team - security fix for ffmpeg 5.1