在c++文件中引用ffmpeg头文件需要加extern “C”
extern “C”
{
#include “libavcodec/avcodec.h”
#include “libavformat/avformat.h”
#include “libswscale/swscale.h”
};
ffmpeg链接问题
最新推荐文章于 2024-05-24 11:05:36 发布
在c++文件中引用ffmpeg头文件需要加extern “C”
extern “C”
{
#include “libavcodec/avcodec.h”
#include “libavformat/avformat.h”
#include “libswscale/swscale.h”
};
727

被折叠的 条评论
为什么被折叠?