# HG changeset patch # User victor # Date 1278695397 0 # Node ID dc6039ad4c7e4614a5603ffb35dcf0b03d8a7997 # Parent ee69b90df099f4afbdb1308c69397252d53e114f Current Cygwin has mkstemp(). diff -r ee69b90df099 -r dc6039ad4c7e libxvidff.c --- a/libxvidff.c Fri Jul 09 16:05:58 2010 +0000 +++ b/libxvidff.c Fri Jul 09 17:09:57 2010 +0000 @@ -80,7 +80,7 @@ int xvid_ff_2pass(void *ref, int opt, void *p1, void *p2); 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. * *prefix can be a character constant; *filename will be allocated internally. * @return file descriptor of opened file (or -1 on error)