diff options
author | steve <steve@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-03 11:59:43 +0000 |
---|---|---|
committer | steve <steve@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-03 11:59:43 +0000 |
commit | 4d3bbb2a086660ed6ec8c8ae156868cc29a5e737 (patch) | |
tree | fb350f5c29af677151eb428213475cce307e2d64 /libmpdemux | |
parent | a70d72ec5ea53eefb32d2769401d245ec5bc9ecc (diff) | |
download | mpv-4d3bbb2a086660ed6ec8c8ae156868cc29a5e737.tar.bz2 mpv-4d3bbb2a086660ed6ec8c8ae156868cc29a5e737.tar.xz |
stream_skip len s/be off_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3963 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h index d638a155f6..346532ec91 100644 --- a/libmpdemux/stream.h +++ b/libmpdemux/stream.h @@ -137,7 +137,7 @@ inline static int stream_seek(stream_t *s,off_t pos){ return cache_stream_seek_long(s,pos); } -inline static int stream_skip(stream_t *s,int len){ +inline static int stream_skip(stream_t *s,off_t len){ if(len<0 || (len>2*STREAM_BUFFER_SIZE && s->type!=STREAMTYPE_STREAM)){ // negative or big skip! return stream_seek(s,stream_tell(s)+len); |