Skip to content

Commit 5d5a014

Browse files
softworkzmstorsjo
authored andcommitted
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>
1 parent bc8f1bb commit 5d5a014

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libavformat/file.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,7 @@ static int file_check(URLContext *h, int mask)
154154
ret |= AVIO_FLAG_WRITE;
155155
#else
156156
struct stat st;
157-
# ifndef _WIN32
158157
ret = stat(filename, &st);
159-
# else
160-
ret = win32_stat(filename, &st);
161-
# endif
162158
if (ret < 0)
163159
return AVERROR(errno);
164160

0 commit comments

Comments
 (0)