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:
parent
d6f85ec270
commit
6ead033bca
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user