summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 072e9d0a89..ed41b3e93a 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -174,10 +174,10 @@ stream_t* open_stream_plugin(const stream_info_t* sinfo,char* filename,int mode,
}
if(s->type <= -2)
mp_msg(MSGT_OPEN,MSGL_WARN, "Warning streams need a type !!!!\n");
- if(s->flags & STREAM_SEEK && !s->seek)
- s->flags &= ~STREAM_SEEK;
- if(s->seek && !(s->flags & STREAM_SEEK))
- s->flags |= STREAM_SEEK;
+ if(s->flags & MP_STREAM_SEEK && !s->seek)
+ s->flags &= ~MP_STREAM_SEEK;
+ if(s->seek && !(s->flags & MP_STREAM_SEEK))
+ s->flags |= MP_STREAM_SEEK;
s->mode = mode;