]> git.sesse.net Git - ffmpeg/blobdiff - qt-faststart.c
Baptiste COUDURIER's padding patch (reworked by me a little bit).
[ffmpeg] / qt-faststart.c
index 2fc5a161ccd3a20ef38a00d9f1a623af161a8c47..2cc68631520de679b6c20d8a4b20a43f0b34d4f9 100644 (file)
 #include <stdlib.h>
 #include <inttypes.h>
 
+#ifdef __MINGW32__
+#define fseeko(x,y,z)  fseeko64(x,y,z)
+#define ftello(x)      ftello64(x)
+#endif
+
 #define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
 #define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \
                   (((uint8_t*)(x))[1] << 16) | \