aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-06-14 17:02:40 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2016-06-14 23:49:42 +0200
commitcb46b78b2ec0179666012e2d85014236c2f5385b (patch)
tree9bdb0f6dc4300aa7cb240f4a07639f9fd46b602e /libavformat
parentddffafc0b0496564f9d8570fb03ce1d6bf994852 (diff)
downloadffmpeg-cb46b78b2ec0179666012e2d85014236c2f5385b.tar.gz
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/os_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 9e312a5740..caf1a2fab4 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -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)
{