Browse Source

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

Signed-off-by: Matt Oliver <protogonoi@gmail.com>
tags/n3.3
Matt Oliver 9 years ago
parent
commit
6ead033bca
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      libavcodec/nvenc.c

+ 1
- 5
libavcodec/nvenc.c 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


Loading…
Cancel
Save