[MPlayer-dev-eng] mingw32 large file support

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Thu Jan 26 10:26:53 CET 2006


On Thursday, 26 January 2006 at 02:12, Felix Buenemann wrote:
> Hi,
> 
> I've discovered that on mingw32 off_t is always 4 bytes,

Even on 64bit Windows?

> wereas only
> off64_t delivers 8 bytes, so large file support in MPlayer-mingw32 is
> totally broken (this mit also apply to some file handling functions,
> I'll till have to check that).

So... there are two versions of each function? One taking off_t and the
other off64_t as a parameter?

> Anyone has a good idea how to fix this without
> rewriting the entire code in MPlayer?

Hm. typedef off64_t off_t? ;)

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list