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);