mirror of https://github.com/mpv-player/mpv
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:
parent
a70d72ec5e
commit
4d3bbb2a08
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue