[MPlayer-dev-eng] PATCH: large (.mov) files
Chris Bednar
cjb at AdvancedDataSolutions.com
Fri Jan 4 21:42:29 CET 2002
On Fri, 4 Jan 2002, Alex Beregszaszi wrote:
> Hi,
>
> Did you compiled mplayer with largefiles support (--enable-largefiles)?
Not exactly, but dvd support turned it on, so the compile line looked like
gcc3 -MM -O2 -march=i686 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
etc, etc. Anyway, it's a worthwhile question. Normally, on Linux, if you
get past the 2GB limit, you know it was compiled right, because of that
little signed 32-bit i_size in ext2, but I'm using xfs...
Anyway, in the log file, there is the line
File size is 4982643424 bytes
which I don't think would have printed correctly without the largefile
option.
The original cause of this thread was a 2GB problem with an offset
defined as `int' rather than `off_t'. There are a number of other potential
danger spots in libmpdemux/stream.{c,h}, but my first glance at it left
me thinking they might be OK.
---- ``Windows: It does that sometimes.'' -mattdm
Chris J. Bednar
Director, Distributed Computing Product Group
http://AdvancedDataSolutions.com/
More information about the MPlayer-dev-eng
mailing list