summaryrefslogtreecommitdiff
path: root/src/audio_dec/xine_a52_decoder.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2011-10-05 00:11:21 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2011-10-05 00:11:21 +0100
commite4b75132a31fef25960ea7abbf5dace418b1fc37 (patch)
treef219c6fcf2ec0d8f1c58102872edf9d347dfa4a6 /src/audio_dec/xine_a52_decoder.c
parent6a2b53c22febcbc2041d760dccd795f388bc10c4 (diff)
parent24cb81b12aa9ab7c351f917fa2027ee251a5be7f (diff)
downloadxine-lib-e4b75132a31fef25960ea7abbf5dace418b1fc37.tar.gz
xine-lib-e4b75132a31fef25960ea7abbf5dace418b1fc37.tar.bz2
Merge commits which I've already merged from 1.1...
Diffstat (limited to 'src/audio_dec/xine_a52_decoder.c')
-rw-r--r--src/audio_dec/xine_a52_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_dec/xine_a52_decoder.c b/src/audio_dec/xine_a52_decoder.c
index bb0169a21..85e20d1d4 100644
--- a/src/audio_dec/xine_a52_decoder.c
+++ b/src/audio_dec/xine_a52_decoder.c
@@ -783,7 +783,7 @@ static audio_decoder_t *open_plugin (audio_decoder_class_t *class_gen, xine_stre
this->a52_flags_map[i] |= A52_ADJUST_LEVEL;
*/
#ifdef DEBUG_A52
- a52file = open ("test.a52", O_CREAT | O_WRONLY | O_TRUNC, 0644);
+ a52file = xine_create_cloexec("test.a52", O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
#endif
return &this->audio_decoder;
}