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);