summaryrefslogtreecommitdiffstats
path: root/apps/codecs/aiff_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/aiff_enc.c')
-rw-r--r--apps/codecs/aiff_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/aiff_enc.c b/apps/codecs/aiff_enc.c
index 87358f3df8..f728d6f6a5 100644
--- a/apps/codecs/aiff_enc.c
+++ b/apps/codecs/aiff_enc.c
@@ -136,7 +136,7 @@ static bool on_start_file(struct enc_file_event_data *data)
if ((data->chunk->flags & CHUNKF_ERROR) || *data->filename == '\0')
return false;
- data->rec_file = ci->open(data->filename, O_RDWR|O_CREAT|O_TRUNC);
+ data->rec_file = ci->open(data->filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
if (data->rec_file < 0)
return false;