[FFmpeg-cvslog] cmdutils: fix implicit declaration of SetDllDirectory function

Tobias Rapp git at videolan.org
Tue Aug 30 05:09:56 EEST 2016


ffmpeg | branch: release/3.1 | Tobias Rapp <t.rapp at noa-archive.com> | Mon Aug 29 15:25:58 2016 +0200| [12320c08221f0eecf6d9af3a6f12f42e656f0674] | committer: James Almer

cmdutils: fix implicit declaration of SetDllDirectory function

Pre-processor check changed by commiter.

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

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

 cmdutils.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cmdutils.c b/cmdutils.c
index a725e77..3bb8bde 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -61,6 +61,9 @@
 #include <sys/time.h>
 #include <sys/resource.h>
 #endif
+#if HAVE_SETDLLDIRECTORY
+#include <windows.h>
+#endif
 
 static int init_report(const char *env);
 



More information about the ffmpeg-cvslog mailing list