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>
release/5.1
softworkz 3 years ago committed by Martin Storsjö
parent bc8f1bbe23
commit 5d5a014199
  1. 4
      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);

Loading…
Cancel
Save