From 76353b42fa7945c9a5c76b6ab11b6bca72ea85a0 Mon Sep 17 00:00:00 2001
From: Ramiro Polla <ramiro.polla@gmail.com>
Date: Wed, 11 Jul 2007 15:21:24 +0000
Subject: [PATCH] Remove underscores before fcntl flags

Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index cd2037884df..bdc67c16afb 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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);
-- 
GitLab