> diff --git a/libavformat/os_support.h b/libavformat/os_support.h In addition to what you've already added, this file defines stat as:
#ifdef _WIN32 ... # ifdef stat # undef stat # endif # define stat _stati64 ... which is 1. not wide-char aware (_wstati64 does exist) 2. not long path aware. Also there is a function: static inline int is_dos_path(const char *path) { #if HAVE_DOS_PATHS if (path[0] && path[1] == ':') return 1; #endif return 0; } Now, DOS paths C:... end up being \\?\C:.... Are you sure it won't break something down the line? _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".