[MPlayer-dev-eng] PATCH: large (.mov) files

Stephen Davies steve at daviesfam.org
Thu Jan 3 12:51:50 CET 2002


On Wed, 2 Jan 2002, Chris Bednar wrote:

> --- MPlayer-0.60pre2/libmpdemux/stream.h.largefile	Tue Dec 25 18:16:09 2001
> +++ MPlayer-0.60pre2/libmpdemux/stream.h	Wed Jan  2 22:13:35 2002
> @@ -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);
> 

Chris: is it also wise to change "int x" in the function to "off_t x"?

Steve





More information about the MPlayer-dev-eng mailing list