diff options
author | Martin Storsjö <martin@martin.st> | 2012-08-28 22:40:27 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-08-29 00:23:34 +0300 |
commit | dd4169ab924f00391711a21dd3c6c1f90d2795e0 (patch) | |
tree | 617d7b9b8cea0c6171ea15475ca1a2129c79a841 | |
parent | bff714ad4c1a3db38816a9ebded20ef4f60ad08f (diff) | |
download | ffmpeg-dd4169ab924f00391711a21dd3c6c1f90d2795e0.tar.gz |
qt-faststart: Use other seek/tell functions on MSVC than on mingw
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | tools/qt-faststart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c index 8d2196c683..f33d6fa80c 100644 --- a/tools/qt-faststart.c +++ b/tools/qt-faststart.c @@ -32,6 +32,9 @@ #ifdef __MINGW32__ #define fseeko(x, y, z) fseeko64(x, y, z) #define ftello(x) ftello64(x) +#elif defined(_WIN32) +#define fseeko(x, y, z) _fseeki64(x, y, z) +#define ftello(x) _ftelli64(x) #endif #define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) |