Commit f1dfaa7a authored by kemuri's avatar kemuri Committed by Ramiro Polla

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>

Originally committed as revision 23448 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3c80491d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment