[FFmpeg-cvslog] ismindex: Fix build on mingw
Martin Storsjö
git at videolan.org
Thu Jan 26 22:45:12 CET 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Jan 25 13:47:38 2012 +0200| [b9e79a3f4e428e54ff51febc94bdbbf0802d47e1] | committer: Michael Niedermayer
ismindex: Fix build on mingw
Signed-off-by: Martin Storsjö <martin at martin.st>
(cherry picked from commit 8801fac365549a43a639e239faba409d8f91ef86)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9e79a3f4e428e54ff51febc94bdbbf0802d47e1
---
tools/ismindex.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/ismindex.c b/tools/ismindex.c
index 59d1286..5980869 100644
--- a/tools/ismindex.c
+++ b/tools/ismindex.c
@@ -35,6 +35,10 @@
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
+#ifdef _WIN32
+#include <io.h>
+#define mkdir(a, b) mkdir(a)
+#endif
#include "libavformat/avformat.h"
#include "libavutil/intreadwrite.h"
More information about the ffmpeg-cvslog
mailing list