[x264-devel] [VC6 patch for x264]

Gabriel Bouvigne gabriel.bouvigne at joost.com
Tue Jul 29 09:11:36 CEST 2008


chen a écrit :

>     The VC6 can not support C99, so I change some 64-bit const value
> to use macro. It test on VC6 only.

*You might want to move your additional the various "+#ifdef _MSC_VER
[...]" within osdep.h

*You might want to only use those defined for VC6, but not for upper
versions (using the _MSC_VER value)

*
+
+#if _MSC_VER > 1300
+#   define fseek _fseeki64
+#   define ftell _ftelli64
+#endif
+

Beware, you just broke support for input files bigger than 2GB.

--
Gabriel




More information about the x264-devel mailing list