Skip to content

Commit 3b3c567

Browse files
softworkzmstorsjo
authored andcommitted
avformat/os_support: use windows stat structs with 64bit time_t
Signed-off-by: softworkz <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
1 parent 09c53a0 commit 3b3c567

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libavformat/os_support.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static inline int win32_access(const char *filename_utf8, int mode)
213213
return _access(filename_utf8, mode);
214214
}
215215

216-
static inline void copy_stat(struct _stati64 *crtstat, struct win32_stat *buf)
216+
static inline void copy_stat(struct _stat64 *crtstat, struct win32_stat *buf)
217217
{
218218
buf->st_dev = crtstat->st_dev;
219219
buf->st_ino = crtstat->st_ino;
@@ -230,7 +230,7 @@ static inline void copy_stat(struct _stati64 *crtstat, struct win32_stat *buf)
230230

231231
static inline int win32_stat(const char *filename_utf8, struct win32_stat *buf)
232232
{
233-
struct _stati64 crtstat = { 0 };
233+
struct _stat64 crtstat = { 0 };
234234
wchar_t *filename_w;
235235
int ret;
236236

@@ -250,7 +250,7 @@ static inline int win32_stat(const char *filename_utf8, struct win32_stat *buf)
250250

251251
static inline int win32_fstat(int fd, struct win32_stat *buf)
252252
{
253-
struct _stati64 crtstat = { 0 };
253+
struct _stat64 crtstat = { 0 };
254254
int ret;
255255

256256
ret = _fstat64(fd, &crtstat);

0 commit comments

Comments
 (0)