Remove underscores before fcntl flags
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 11 Jul 2007 15:21:24 +0000 (15:21 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Wed, 11 Jul 2007 15:21:24 +0000 (15:21 +0000)
Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/utils.c

index cd20378..bdc67c1 100644 (file)
@@ -1345,7 +1345,7 @@ int av_tempfile(char *prefix, char **filename) {
         return -1;
     }
 #if !defined(HAVE_MKSTEMP)
-    fd = open(*filename, _O_RDWR | _O_BINARY | _O_CREAT, 0444);
+    fd = open(*filename, O_RDWR | O_BINARY | O_CREAT, 0444);
 #else
     snprintf(*filename, len, "/tmp/%sXXXXXX", prefix);
     fd = mkstemp(*filename);