From 5d5a01419928d0c00bae54f730eede150cd5b268 Mon Sep 17 00:00:00 2001 From: softworkz Date: Thu, 26 May 2022 09:28:50 +0000 Subject: [PATCH] avformat/file: remove _WIN32 condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stat is now re-mapped with long path support in os_support.h Signed-off-by: softworkz Signed-off-by: Martin Storsjö --- 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);