[FFmpeg-cvslog] configure: add missing check for LoadLibrary

James Almer git at videolan.org
Thu Sep 1 19:51:34 EEST 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Sep  1 13:50:38 2016 -0300| [f66abefefecfb7fb08bf5ec6f79d8c558a043d29] | committer: James Almer

configure: add missing check for LoadLibrary

Commit 2b1d316ff68a3f973d8f342db6bf9755eb78ec10 made nvenc depend on
LoadLibrary, but the availability of the latter was never checked.

This fixes nvenc on Windows platforms

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f66abefefecfb7fb08bf5ec6f79d8c558a043d29
---

 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 6741f83..4bed6f2 100755
--- a/configure
+++ b/configure
@@ -1921,6 +1921,7 @@ SYSTEM_FUNCS="
     isatty
     jack_port_get_latency_range
     kbhit
+    LoadLibrary
     localtime_r
     lstat
     lzo1x_999_compress
@@ -5493,6 +5494,7 @@ check_func_headers windows.h CoTaskMemFree -lole32
 check_func_headers windows.h GetProcessAffinityMask
 check_func_headers windows.h GetProcessTimes
 check_func_headers windows.h GetSystemTimeAsFileTime
+check_func_headers windows.h LoadLibrary
 check_func_headers windows.h MapViewOfFile
 check_func_headers windows.h PeekNamedPipe
 check_func_headers windows.h SetConsoleTextAttribute



More information about the ffmpeg-cvslog mailing list