summaryrefslogtreecommitdiffstats
path: root/apps/codecs/wavpack_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/wavpack_enc.c')
-rw-r--r--apps/codecs/wavpack_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/wavpack_enc.c b/apps/codecs/wavpack_enc.c
index e7da6efa75..7a5f35a53a 100644
--- a/apps/codecs/wavpack_enc.c
+++ b/apps/codecs/wavpack_enc.c
@@ -227,7 +227,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;