[FFmpeg-cvslog] avformat/file: remove _WIN32 condition
softworkz
git at videolan.org
Thu Jun 9 13:04:11 EEST 2022
ffmpeg | branch: master | softworkz <softworkz at hotmail.com> | Thu May 26 09:28:50 2022 +0000| [5d5a01419928d0c00bae54f730eede150cd5b268] | committer: Martin Storsjö
avformat/file: remove _WIN32 condition
stat is now re-mapped with long path support
in os_support.h
Signed-off-by: softworkz <softworkz at hotmail.com>
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d5a01419928d0c00bae54f730eede150cd5b268
---
libavformat/file.c | 4 ----
1 file changed, 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);
More information about the ffmpeg-cvslog
mailing list