[Mplayer-dev-eng] Adding largefile support

Stephen Davies steve at daviesfam.org
Mon Jul 2 13:39:35 CEST 2001


Hi,

I've started adjusting mplayer for large files (64bit file offsets etc).
Which is mainly setting _LARGEFILE_SOURCE and _FILE_OFFSET_BITS=64 and
cleaning up the datatypes of relevant variables from variations of int,
long, unsigned int etc to off_t.

Generally this should be backward compatible to older glibc that don't 
have large file support (<2.2 is it?) - the defines will be ignored, off_t
will be 32bit and the old non-64bit open, lseek, etc will be used.

Any problems or hints before I put too much effort in?

Steve



_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list