I am trying to use av_opt_set() in my code, but as soon as I try to use anything from libavutil/opt.h, I get an compiler error saying:
Normally, I'd say I am missing a library, but I include:
Code: Select all
error LNK2019: unresolved external symbol "int __cdecl av_opt_set_int(void *,char const *,__int64,int)" ([email protected]@[email protected]) referenced in function "struct AVStream * __cdecl add_video_stream(class Cffmpeg_dll *,struct AVFormatContext *,enum CodecID)" ([email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
So libavutil is in there. Everything else also works just fine.avformat.lib;avdevice.lib;avcodec.lib;swscale.lib;avutil.lib;
Oh, btw, I'm using Visual Studio 2010 Professional. I also use the latest dev & shared build (to get both *.lib and *.dll) from this site (git-7543fd8).