[FFmpeg-cvslog] qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
Martin Storsjö
git at videolan.org
Tue Apr 4 21:58:43 EEST 2017
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Sep 13 12:55:32 2012 +0300| [233d50b275dd7cf6cc0656851e670e1b2dfba56f] | committer: Diego Biurrun
qt-faststart: Do not try to use fancy 64-bit seeking functions on mingw32ce
These functions are not available on mingw32ce.
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=233d50b275dd7cf6cc0656851e670e1b2dfba56f
---
tools/qt-faststart.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index 0db5ca2..b798ccd 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -29,7 +29,10 @@
#include <inttypes.h>
#include <string.h>
-#ifdef __MINGW32__
+#ifdef __MINGW32CE__
+#define fseeko(x, y, z) fseek(x, y, z)
+#define ftello(x) ftell(x)
+#elif defined(__MINGW32__)
#undef fseeko
#define fseeko(x, y, z) fseeko64(x, y, z)
#undef ftello
More information about the ffmpeg-cvslog
mailing list