summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-04 18:42:46 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-04 18:42:46 +0000
commit2808f340cd661c898e10ff8c6ec170d7e503b3e6 (patch)
tree81ee40b21041508e94a66993071501800c71ee54 /stream/stream_dvb.c
parent36300981a3a6d73742b3054ae67b337b6eebbfb5 (diff)
downloadmpv-2808f340cd661c898e10ff8c6ec170d7e503b3e6.tar.bz2
mpv-2808f340cd661c898e10ff8c6ec170d7e503b3e6.tar.xz
Fix condition broken in r27401 which incorrectly caused stdin to be closed after playing DVB.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27892 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r--stream/stream_dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index 5068fd0dbb..046a052d6c 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -611,7 +611,7 @@ static void dvbin_close(stream_t *stream)
close(priv->dvr_fd);
close(priv->fe_fd);
-#ifdef CONFIG_DVB
+#ifndef CONFIG_DVB_HEAD
close(priv->sec_fd);
#endif