summaryrefslogtreecommitdiff
path: root/src/audio_dec
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-10-03 01:48:45 +0100
committerChris Rankin <rankincj@yahoo.com>2011-10-03 01:48:45 +0100
commitcba782a23ee5c9c668e02f9c6d95acba70464d18 (patch)
tree248b5dd329225b3383a679a697804952e9536899 /src/audio_dec
parentbd482ac652db2a937381c475718139f1668de266 (diff)
downloadxine-lib-cba782a23ee5c9c668e02f9c6d95acba70464d18.tar.gz
xine-lib-cba782a23ee5c9c668e02f9c6d95acba70464d18.tar.bz2
Add CLOEXEC support for VDR plugin, plus a few extra descriptors.
Diffstat (limited to 'src/audio_dec')
-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..683b4dd1e 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 = create_cloexec("test.a52", O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
#endif
return &this->audio_decoder;
}