Browse Source

Current Cygwin has mkstemp().

Originally committed as revision 24144 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Víctor Paesa 15 years ago
parent
commit
4b04c5ca29
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libxvidff.c

+ 1
- 1
libavcodec/libxvidff.c View File

@@ -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…
Cancel
Save