summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorsoftworkz <softworkz@hotmail.com>2022-05-26 09:28:50 +0000
committerMartin Storsjö <martin@martin.st>2022-06-09 13:03:55 +0300
commit5d5a01419928d0c00bae54f730eede150cd5b268 (patch)
tree686263b017fef8f77f58b76fccce44fb64c78ff1 /libavformat/file.c
parentbc8f1bbe233b435dc474df272dac0b5b6d0ef536 (diff)
downloadffmpeg-5d5a01419928d0c00bae54f730eede150cd5b268.tar.gz
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>
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 063d7c5aa2..98c9e81bcb 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -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);