error C4996: 'AVStream::codec': was declared deprecated 关闭VS的SDL检查 工程 属性=>C/C++ =>General=> SDL checks 改为 No(/sdl).