Skip to content

Commit

Permalink
avformat/file: remove _WIN32 condition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
softworkz authored and mstorsjo committed Jun 9, 2022
1 parent bc8f1bb commit 5d5a014
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libavformat/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5d5a014

Please sign in to comment.