summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
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 26d6a3bcd1..9c950bef3c 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -765,7 +765,7 @@ dvb_config_t *dvb_get_config(void)
for(i=0; i<MAX_CARDS; i++)
{
sprintf(filename, "/dev/dvb/adapter%d/frontend0", i);
- fd = open(filename, O_RDWR | O_NONBLOCK);
+ fd = open(filename, O_RDONLY|O_NONBLOCK);
if(fd < 0)
{
mp_msg(MSGT_DEMUX, MSGL_V, "DVB_CONFIG, can't open device %s, skipping\n", filename);