Commit 99446229 authored by ramiro's avatar ramiro

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>


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23448 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 21d48e02
......@@ -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