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
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 &&
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to