[FFmpeg-devel] [PATCH]Fix msvc compilation with --disable-indev=vfwcap

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Feb 8 20:57:52 CET 2015


Hi!

Attached patch intends to fix compilation with msvc 
when the vfwcap input device is disabled.
Tested by Bernhard Döbler

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index f31d372..0c6f7ea 100755
--- a/configure
+++ b/configure
@@ -5371,7 +5371,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-devel mailing list