Mercurial > mplayer.hg
changeset 3962:449fc79d1ae3
stream_skip len s/be off_t
author | steve |
---|---|
date | Thu, 03 Jan 2002 11:59:43 +0000 |
parents | 84b489adbc15 |
children | 476892c68700 |
files | libmpdemux/stream.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/stream.h Thu Jan 03 00:48:22 2002 +0000 +++ b/libmpdemux/stream.h Thu Jan 03 11:59:43 2002 +0000 @@ -137,7 +137,7 @@ 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);