mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avformat/file: remove _WIN32 condition
stat is now re-mapped with long path support in os_support.h Signed-off-by: softworkz <softworkz@hotmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
bc8f1bbe23
commit
5d5a014199
1 changed files with 0 additions and 4 deletions
|
|
@ -154,11 +154,7 @@ static int file_check(URLContext *h, int mask)
|
|||
ret |= AVIO_FLAG_WRITE;
|
||||
#else
|
||||
struct stat st;
|
||||
# ifndef _WIN32
|
||||
ret = stat(filename, &st);
|
||||
# else
|
||||
ret = win32_stat(filename, &st);
|
||||
# endif
|
||||
if (ret < 0)
|
||||
return AVERROR(errno);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue