[MPlayer-dev-eng] libmp1e bugreport

Stephen Davies steve at daviesfam.org
Fri Dec 7 15:48:06 CET 2001


On Fri, 7 Dec 2001, pl wrote:

> Are you _really sure_ it s safe to replace 'off64_t' by 'unsigned' (which
> are 32bits unsigned int) ?
> 
> off_t may be a better choice since it expands to 64 bits if the correct
> define's are added (at least on linux).
> 
> Feel free to enlighten me if I'm wrong :)

If you configure mplayer with --enable-largefiles, off_t will expand as
64bit.  If you don't use that option, off_t will be 32bit.  So
generally, off_t should be used in code so that the right version will be
automatically picked.

Steve





More information about the MPlayer-dev-eng mailing list