This reverts commit bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc. This reduces the dependencies on the libavformat internal headers. (ismindex doesn't have any runtime dependencies on the libavformat internals, only build-time dependencies.) --- tools/ismindex.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tools/ismindex.c b/tools/ismindex.c index 387b185..8f630d6 100644 --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -46,10 +46,18 @@ #include <stdio.h> #include <string.h> +#include <sys/stat.h> +#ifdef _WIN32 +#ifdef __MINGW32CE__ +#include <io.h> +#else +#include <direct.h> +#endif +#define mkdir(a, b) _mkdir(a) +#endif #include "libavformat/avformat.h" #include "libavformat/isom.h" -#include "libavformat/os_support.h" #include "libavutil/intreadwrite.h" #include "libavutil/mathematics.h" -- 1.9.3 (Apple Git-50) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
