diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-10-18 09:41:31 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-10-18 09:41:31 +0300 |
commit | 7fa0e8ce9a31512dbc2ef4c6963ca727142bde6f (patch) | |
tree | a90751732087df03d33d91da46c454e44e3ff955 /src | |
parent | a9e9f6fab09d5cee4d8561feea3f06ec6f4d2e45 (diff) | |
download | xine-lib-7fa0e8ce9a31512dbc2ef4c6963ca727142bde6f.tar.gz xine-lib-7fa0e8ce9a31512dbc2ef4c6963ca727142bde6f.tar.bz2 |
input_dvb: fixed check for recording file handle
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 145abc773..fc3c88862 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -2578,7 +2578,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen, ts_rewrite_packets (this, buf,total); - if ((this->record_fd)&&(!this->record_paused)) + if ((this->record_fd > -1) && (!this->record_paused)) write (this->record_fd, buf, total); pthread_mutex_unlock( &this->channel_change_mutex ); |