mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-30 15:18:36 +00: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
@ -154,11 +154,7 @@ static int file_check(URLContext *h, int mask)
|
|||||||
ret |= AVIO_FLAG_WRITE;
|
ret |= AVIO_FLAG_WRITE;
|
||||||
#else
|
#else
|
||||||
struct stat st;
|
struct stat st;
|
||||||
# ifndef _WIN32
|
|
||||||
ret = stat(filename, &st);
|
ret = stat(filename, &st);
|
||||||
# else
|
|
||||||
ret = win32_stat(filename, &st);
|
|
||||||
# endif
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return AVERROR(errno);
|
return AVERROR(errno);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user