Browse Source

os_support: use the appropriate stat functions matching the stat type

The stat struct is defined to stati64, which requires using the appropriate wstati/stati functions as well.
Fixes a whole bunch of compiler warnings as well as build breakage with the decklink avdevice.

Fixes trac #5640
tags/n3.1
Hendrik Leppkes 9 years ago
parent
commit
cb46b78b2e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/os_support.h

+ 1
- 1
libavformat/os_support.h View File

@@ -203,7 +203,7 @@ fallback: \
}

DEF_FS_FUNCTION2(access, _waccess, _access, int)
DEF_FS_FUNCTION2(stat, _wstat64, _stat64, struct stat*)
DEF_FS_FUNCTION2(stat, _wstati64, _stati64, struct stat*)

static inline int win32_rename(const char *src_utf8, const char *dest_utf8)
{


Loading…
Cancel
Save