[FFmpeg-cvslog] win32: include the correct header in cmdutils.c
Luca Barbato
git at videolan.org
Tue Apr 26 04:23:17 CEST 2011
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Apr 25 15:30:42 2011 +0200| [ba9327ea65310d9e15acb5791980a7d766c9f986] | committer: Luca Barbato
win32: include the correct header in cmdutils.c
CommandLineToArgvW requires windows.h, include it directly
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ba9327ea65310d9e15acb5791980a7d766c9f986
---
cmdutils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cmdutils.c b/cmdutils.c
index f25f61d..d15aba0 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -156,6 +156,7 @@ static const OptionDef* find_option(const OptionDef *po, const char *name){
}
#if defined(_WIN32) && !defined(__MINGW32CE__)
+#include <windows.h>
/* Will be leaked on exit */
static char** win32_argv_utf8 = NULL;
static int win32_argc = 0;
More information about the ffmpeg-cvslog
mailing list