diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-01-15 12:06:24 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-01-15 12:06:24 +0000 |
| commit | 05ee19baeead2cca3444bd7305fec2939baf00bc (patch) | |
| tree | e349de02eff6f9bf1ed974a0727e48656b411c01 /lib/dvb/demux.cpp | |
| parent | e3117905aef14133289aabfc8f48af2d15126525 (diff) | |
| download | enigma2-05ee19baeead2cca3444bd7305fec2939baf00bc.tar.gz enigma2-05ee19baeead2cca3444bd7305fec2939baf00bc.zip | |
don't close fd -1
Diffstat (limited to 'lib/dvb/demux.cpp')
| -rw-r--r-- | lib/dvb/demux.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index 5d4a6c28..384a77e1 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -418,6 +418,7 @@ RESULT eDVBTSRecorder::startPID(int pid) void eDVBTSRecorder::stopPID(int pid) { - ::close(m_pids[pid]); + if (m_pids[pid] != -1) + ::close(m_pids[pid]); m_pids[pid] = -1; } |
