1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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