[FFmpeg-cvslog] r23448 - trunk/libavformat/os_support.h
ramiro
subversion
Thu Jun 3 22:41:04 CEST 2010
Author: ramiro
Date: Thu Jun 3 22:41:04 2010
New Revision: 23448
Log:
win32: Use _fstati64() instead of plain old fstat() on Windows to support file
sizes greater than 4gb.
Patch by kemuri <kemuri9 at gmail dot com>
Modified:
trunk/libavformat/os_support.h
Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h Thu Jun 3 22:31:29 2010 (r23447)
+++ trunk/libavformat/os_support.h Thu Jun 3 22:41:04 2010 (r23448)
@@ -32,6 +32,8 @@
#if defined(__MINGW32__) && !defined(__MINGW32CE__)
# include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w))
+# define stat _stati64
+# define fstat(f,s) _fstati64((f), (s))
#endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */
static inline int is_dos_path(const char *path)
More information about the ffmpeg-cvslog
mailing list