diff options
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r-- | stream/stream_dvb.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index ba40c3afc3..cdf282d3ac 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -627,7 +627,7 @@ static int dvb_streaming_start(stream_t *stream, int tuner_type, char *progname) -static int dvb_open(stream_t *stream, int mode) +static int dvb_open(stream_t *stream) { // I don't force the file format bacause, although it's almost always TS, // there are some providers that stream an IP multicast with M$ Mpeg4 inside @@ -637,10 +637,6 @@ static int dvb_open(stream_t *stream, int mode) char *progname; int tuner_type = 0, i; - - if(mode != STREAM_READ) - return STREAM_UNSUPPORTED; - priv->fe_fd = priv->sec_fd = priv->dvr_fd = -1; priv->config = dvb_get_config(stream); if(priv->config == NULL) |