diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 01:58:22 +0100 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 01:58:22 +0100 |
commit | 5ec743f4ddf302d10b3547cfc18ae0ca8aed1edd (patch) | |
tree | 0b6ba4a0f0c84aa6b58d35377036f70a180e2ffe /src | |
parent | b01bd8b294c35be664b018dd6e5fa9ec30e521ca (diff) | |
download | xine-lib-5ec743f4ddf302d10b3547cfc18ae0ca8aed1edd.tar.gz xine-lib-5ec743f4ddf302d10b3547cfc18ae0ca8aed1edd.tar.bz2 |
Add CLOEXEC to another descriptor. (Merge from 1.2 branch).
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_dvb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index e56c3d260..cae56d301 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -648,7 +648,7 @@ static tuner_t *XINE_MALLOC tuner_init(xine_t * xine, int adapter) if(this->feinfo.type==FE_OFDM) xprintf(this->xine,XINE_VERBOSITY_DEBUG,"TER Card\n"); if(this->feinfo.type==FE_ATSC) xprintf(this->xine,XINE_VERBOSITY_DEBUG,"US Card\n"); - if ((test_video=open(video_device, O_RDWR)) < 0) { + if ((test_video=open_cloexec(video_device, O_RDWR)) < 0) { xprintf(this->xine,XINE_VERBOSITY_DEBUG,"input_dvb: Card has no hardware decoder\n"); }else{ xprintf(this->xine,XINE_VERBOSITY_DEBUG,"input_dvb: Card HAS HARDWARE DECODER\n"); |