出现error LNK2019: 无法解析的外部符号 "void __cdecl av_close_input_file(struct AVFormatContext *)" ([email=?av_close_input_file@@YAXPAUAVFormatContext@@@Z]?
包含的文件要像
extern "C" { #include "libavcodec\avcodec.h" #include "libavformat\avformat.h" #include "libswscale\swscale.h" }; |