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
oldabi
kemuri 15 years ago committed by Ramiro Polla
parent 3c80491daa
commit f1dfaa7a82
  1. 2
      libavformat/os_support.h

@ -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)

Loading…
Cancel
Save