ffmpeg链接问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/MoSee/article/details/81370173

在c++文件中引用ffmpeg头文件需要加extern “C”
extern “C”
{
#include “libavcodec/avcodec.h”
#include “libavformat/avformat.h”
#include “libswscale/swscale.h”
};

猜你喜欢

转载自blog.csdn.net/MoSee/article/details/81370173