使用ffmpeg的库 链接错误, LNK2019
因为ffmpeg 的库是C格式的,
所以需要加上extern
如下:
extern "C"
{
#include <libavcodec\avcodec.h>
#include <libavformat\avformat.h>
#include <libswscale\swscale.h>
};
==========
因为ffmpeg 的库是C格式的,
所以需要加上extern
如下:
extern "C"
{
#include <libavcodec\avcodec.h>
#include <libavformat\avformat.h>
#include <libswscale\swscale.h>
};
==========