summaryrefslogtreecommitdiff
path: root/src/mov_encoder_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mov_encoder_thread.cc')
-rw-r--r--src/mov_encoder_thread.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mov_encoder_thread.cc b/src/mov_encoder_thread.cc
index a913e7b..99fd908 100644
--- a/src/mov_encoder_thread.cc
+++ b/src/mov_encoder_thread.cc
@@ -31,6 +31,9 @@
/*
* $Log$
+ * Revision 1.2 2005/05/17 15:12:51 deva
+ * Fixed file rights (All read on files and directories, and all execute on directories).
+ *
* Revision 1.1 2005/05/17 14:30:56 deva
* Added code, preparing threaded encoding.
*
@@ -41,7 +44,7 @@
MovEncoderThread::MovEncoderThread(const char *filename)
{
- file = open(filename, O_CREAT | O_EXCL);
+ file = open(filename, O_CREAT | O_EXCL, S_IRWXU | S_IRGRP | S_IROTH);
threads = 4;