[Ffmpeg-cvslog] r7362 - trunk/libavformat/os_support.h

diego subversion
Sat Dec 23 00:44:04 CET 2006


Author: diego
Date: Sat Dec 23 00:44:04 2006
New Revision: 7362

Modified:
   trunk/libavformat/os_support.h

Log:
support files >2GB on MinGW
patch by Ramiro Polla, angustia arrozcru.no-ip org


Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h	(original)
+++ trunk/libavformat/os_support.h	Sat Dec 23 00:44:04 2006
@@ -27,6 +27,7 @@
  * miscellaneous OS support macros and functions.
  *
  * - usleep() (Win32, BeOS, OS/2)
+ * - lseek() (Win32)
  * - floatf() (OS/2)
  * - strcasecmp() (OS/2)
  */
@@ -35,6 +36,8 @@
 __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
 // #  include <windows.h>
 #  define usleep(t)    Sleep((t) / 1000)
+#  include <fcntl.h>
+#  define lseek(f,p,w) _lseeki64((f), (p), (w))
 #endif
 
 #ifdef __BEOS__




More information about the ffmpeg-cvslog mailing list