aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-28 02:24:05 +0000
committerGravatar rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-28 02:24:05 +0000
commit493d497996583f725eaa5ecce0906f4e23b200ab (patch)
tree4970022ba681b30ae2421de3d32f1e15edbae82b /libvo
parent55b93890d63b63da64ed02c42fd4dbae86b4f034 (diff)
open w/O_CREAT requires a third argument, mode!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5882 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_mpegpes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index 8f94e5d6f7..e337aecf0a 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -130,7 +130,7 @@ static uint32_t preinit(const char *arg){
}
#else
- vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT);
+ vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT,0666);
if(vo_mpegpes_fd<0){
perror("vo_mpegpes");
return -1;