diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-22 15:18:21 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-22 15:18:21 +0000 |
commit | af2988cbcef1b057772d44b9f9752be3f15960b0 (patch) | |
tree | bbac3b16fb874535c07b693d96a59484284a408e /stream/stream.c | |
parent | 302527a111cc88cc0bdd16d74d161eea9577da18 (diff) | |
download | mpv-af2988cbcef1b057772d44b9f9752be3f15960b0.tar.bz2 mpv-af2988cbcef1b057772d44b9f9752be3f15960b0.tar.xz |
Finally rename the STREAM_SEEK define to MP_STREAM_SEEK, there are just too many
name clashes, in particular with Windows headers (which define STREAM_SEEK as an enum type).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29962 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 8 |
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; |