[FFmpeg-cvslog] Force linking against user32 if dxva2 is enabled.

Carl Eugen Hoyos git at videolan.org
Tue Feb 17 15:17:54 CET 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Feb 17 11:39:09 2015 +0100| [a9dc94c39c7e49f8ef548cf61c4292c55c22ef8c] | committer: Carl Eugen Hoyos

Force linking against user32 if dxva2 is enabled.

Fixes compilation with vfwcap disabled.
Reported and tested by Bernhard Döbler, programmer bardware de

Reviewed-by: Matt Oliver

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

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 1d14d0a..940dffb 100755
--- a/configure
+++ b/configure
@@ -5373,7 +5373,7 @@ if test $target_os = "haiku"; then
 fi
 
 enabled_all dxva2 dxva2api_cobj CoTaskMemFree &&
-    prepend ffmpeg_libs $($ldflags_filter "-lole32") &&
+    prepend ffmpeg_libs $($ldflags_filter "-lole32" "-luser32") &&
     enable dxva2_lib
 
 ! enabled_any memalign posix_memalign aligned_malloc &&



More information about the ffmpeg-cvslog mailing list