diff options
author | Martin Storsjö <martin@martin.st> | 2012-03-19 23:12:54 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-09-12 23:42:16 +0300 |
commit | 62c9ae11a7f9716848de0c26df855d6b8071eb16 (patch) | |
tree | c818e9f9e796471ac7b6310d04868c995d6bed9b /libavformat/os_support.h | |
parent | 29a9b12b10c91c638205da74f3330acd06517ae8 (diff) | |
download | ffmpeg-62c9ae11a7f9716848de0c26df855d6b8071eb16.tar.gz |
Add a smooth streaming segmenter muxer
This muxer splits the output from the ismv muxer into individual
files, in realtime.
The same can also be done by the standalone tool ismindex, but this
muxer is needed for doing it in realtime (especially for live
streams that need extra handling for updating the lookahead fields
in the fragment headers).
Using this muxer, one can deliver live smooth streaming from a
normal static file web server. (Using ismindex, one can deliver
premade smooth streaming files from a static file web server,
or prepare files for serving with IIS.)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r-- | libavformat/os_support.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 8e2eb83ccd..533b06beee 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -38,6 +38,13 @@ # define fstat(f,s) _fstati64((f), (s)) #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */ +#ifdef _WIN32 +#include <direct.h> +#define mkdir(a, b) _mkdir(a) +#else +#include <sys/stat.h> +#endif + static inline int is_dos_path(const char *path) { #if HAVE_DOS_PATHS |