Commit 4b04c5ca authored by Víctor Paesa's avatar Víctor Paesa
Browse files

Current Cygwin has mkstemp().

Originally committed as revision 24144 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c43d77c1
...@@ -80,7 +80,7 @@ int xvid_strip_vol_header(AVCodecContext *avctx, unsigned char *frame, unsigned ...@@ -80,7 +80,7 @@ int xvid_strip_vol_header(AVCodecContext *avctx, unsigned char *frame, unsigned
int xvid_ff_2pass(void *ref, int opt, void *p1, void *p2); int xvid_ff_2pass(void *ref, int opt, void *p1, void *p2);
void xvid_correct_framerate(AVCodecContext *avctx); void xvid_correct_framerate(AVCodecContext *avctx);
/* Wrapper to work around the lack of mkstemp() on mingw/cygin. /* Wrapper to work around the lack of mkstemp() on mingw.
* Also, tries to create file in /tmp first, if possible. * Also, tries to create file in /tmp first, if possible.
* *prefix can be a character constant; *filename will be allocated internally. * *prefix can be a character constant; *filename will be allocated internally.
* @return file descriptor of opened file (or -1 on error) * @return file descriptor of opened file (or -1 on error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment