Commit 6ead033b authored by Matt Oliver's avatar Matt Oliver

avcodec/nvenc.c: Use new safe dlopen code.

Signed-off-by: 's avatarMatt Oliver <protogonoi@gmail.com>
parent d6f85ec2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment