summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-06-05 02:00:13 +0200
committerwm4 <wm4@nowhere>2013-06-09 22:06:02 +0200
commit15f5b18e58199de0136a6bacbde1646ea8e3354d (patch)
treec1c9ca861af0e4bb2e176ae8fa2fb29ea7bf7e58 /stream/stream.c
parent005375bb7d095d06c46a1d47223e0381439dc3ea (diff)
downloadmpv-15f5b18e58199de0136a6bacbde1646ea8e3354d.tar.bz2
mpv-15f5b18e58199de0136a6bacbde1646ea8e3354d.tar.xz
stream: misleading statement
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 9de53aba52..9ea758fda7 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -194,7 +194,7 @@ static stream_t *open_stream_plugin(const stream_info_t *sinfo,
if (s->type <= -2)
mp_msg(MSGT_OPEN, MSGL_WARN, "Warning streams need a type !!!!\n");
- if (s->flags & MP_STREAM_SEEK && !s->seek)
+ if (!s->seek)
s->flags &= ~MP_STREAM_SEEK;
if (s->seek && !(s->flags & MP_STREAM_SEEK))
s->flags |= MP_STREAM_SEEK;