diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-03-27 16:34:21 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-03-27 16:34:21 +0000 |
commit | a8fcaf4019ccb7b5ca5e88f2544afab69c0a3e87 (patch) | |
tree | 0fe3af7174b1a43da823e690a4524c7a718b9fd4 | |
parent | b0519015f055bfce2912d5304473e12e9308d649 (diff) | |
download | ffmpeg-a8fcaf4019ccb7b5ca5e88f2544afab69c0a3e87.tar.gz |
#define fseeko/ftello to fseeko64/ftello64, fixes MinGW compilation.
patch by Steve Lhomme, steve.,.,.lhomme.,@,.free.,.,.fr
Originally committed as revision 5230 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | qt-faststart.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-faststart.c b/qt-faststart.c index 2fc5a161cc..2cc6863152 100644 --- a/qt-faststart.c +++ b/qt-faststart.c @@ -24,6 +24,11 @@ #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) | \ |