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

Chris Bednar cjb at AdvancedDataSolutions.com
Thu Jan 3 06:22:17 CET 2002


    Hi

    Sorry I only found this 10 minutes before I saw
the final 0.60 release... the following tiny patch
fixes QuickTime playback for .mov files over 2 GB,
and probably a few other large-file things.

    Since this is my first contact, THANKS for 
the best media player I've ever used!


---- ``Windows: It does that sometimes.''  -mattdm
Chris J. Bednar
Director, Distributed Computing Product Group
http://AdvancedDataSolutions.com/

   -----------------------

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




More information about the MPlayer-dev-eng mailing list