ffmpeg | branch: master | Matt Oliver <protogo...@gmail.com> | Sat Oct 29 18:25:36 2016 +1100| [6ead033bca9accd56f188cc004b4c4b18d616aa7] | committer: Matt Oliver
avcodec/nvenc.c: Use new safe dlopen code. Signed-off-by: Matt Oliver <protogo...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ead033bca9accd56f188cc004b4c4b18d616aa7 --- libavcodec/nvenc.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 2505c3d..a3a2ef5 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -34,11 +34,7 @@ #endif #if defined(_WIN32) -#include <windows.h> - -#define dlopen(filename, flags) LoadLibrary(TEXT(filename)) -#define dlsym(handle, symbol) GetProcAddress(handle, symbol) -#define dlclose(handle) FreeLibrary(handle) +#include "compat/w32dlfcn.h" #else #include <dlfcn.h> #endif _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog