1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-21 03:34:12 +02:00

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

Signed-off-by: Matt Oliver <protogonoi@gmail.com>
This commit is contained in:
Matt Oliver 2016-10-29 18:25:36 +11:00
parent d6f85ec270
commit 6ead033bca

View File

@ -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