Current Cygwin has mkstemp().
Originally committed as revision 24144 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c43d77c163
commit
4b04c5ca29
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user