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

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


ffmpeg | branch: release/2.8 | Tobias Rapp <t.rapp at noa-archive.com> | Mon Aug 29 15:25:58 2016 +0200| [c32ce247a026eda99b3ea5ad46c6bbc5c5907e1a] | 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=c32ce247a026eda99b3ea5ad46c6bbc5c5907e1a
---

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

diff --git a/cmdutils.c b/cmdutils.c
index 380ca1b..bc57be7 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -60,6 +60,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