diff options
author | Matt Oliver <protogonoi@gmail.com> | 2016-10-29 18:25:36 +1100 |
---|---|---|
committer | Matt Oliver <protogonoi@gmail.com> | 2016-11-05 18:09:03 +1100 |
commit | 6ead033bca9accd56f188cc004b4c4b18d616aa7 (patch) | |
tree | a7acb43d5baca3c59ba040bf322acc5b519bb7fa /libavcodec/nvenc.c | |
parent | d6f85ec2700e40b3ec864d5ee405b7e257778e1f (diff) | |
download | ffmpeg-6ead033bca9accd56f188cc004b4c4b18d616aa7.tar.gz |
avcodec/nvenc.c: Use new safe dlopen code.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r-- | libavcodec/nvenc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 2505c3d1e3..a3a2ef5872 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 |