You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/nvenc.c: Use new safe dlopen code.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
This commit is contained in:
@@ -34,11 +34,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include <windows.h>
|
#include "compat/w32dlfcn.h"
|
||||||
|
|
||||||
#define dlopen(filename, flags) LoadLibrary(TEXT(filename))
|
|
||||||
#define dlsym(handle, symbol) GetProcAddress(handle, symbol)
|
|
||||||
#define dlclose(handle) FreeLibrary(handle)
|
|
||||||
#else
|
#else
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user