[Ffmpeg-cvslog] CVS: ffmpeg qt-faststart.c,1.7,1.8

Diego Biurrun CVS diego
Mon Mar 27 18:34:24 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv23823

Modified Files:
	qt-faststart.c 
Log Message:
#define fseeko/ftello to fseeko64/ftello64, fixes MinGW compilation.
patch by Steve Lhomme, steve.,.,.lhomme.,@,.free.,.,.fr


Index: qt-faststart.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/qt-faststart.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- qt-faststart.c	21 Mar 2006 00:18:30 -0000	1.7
+++ qt-faststart.c	27 Mar 2006 16:34:21 -0000	1.8
@@ -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) | \





More information about the ffmpeg-cvslog mailing list