mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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
This commit is contained in:
parent
ddffafc0b0
commit
cb46b78b2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue