mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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
This commit is contained in:
@@ -138,7 +138,7 @@ static int open_f (stream_t *stream, int mode, void *opts, int* file_format) {
|
||||
smbc_lseek (fd, 0, SEEK_SET);
|
||||
}
|
||||
if(len > 0 || mode == STREAM_WRITE) {
|
||||
stream->flags |= STREAM_SEEK;
|
||||
stream->flags |= MP_STREAM_SEEK;
|
||||
stream->seek = seek;
|
||||
if(mode == STREAM_READ) stream->end_pos = len;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user