stream_skip len s/be off_t

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3963 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
steve 2002-01-03 11:59:43 +00:00
parent a70d72ec5e
commit 4d3bbb2a08
1 changed files with 1 additions and 1 deletions

View File

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