aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-07-11 15:21:24 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-07-11 15:21:24 +0000
commit76353b42fa7945c9a5c76b6ab11b6bca72ea85a0 (patch)
tree4c4b402a2b065af1e97365fa5300f01485a170b0 /libavcodec/utils.c
parent4b54c6d08437e5e3dd9359f29b247be58fef965f (diff)
downloadffmpeg-76353b42fa7945c9a5c76b6ab11b6bca72ea85a0.tar.gz
Remove underscores before fcntl flags
Originally committed as revision 9599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index cd2037884d..bdc67c16af 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);