[Ffmpeg-devel] Re: [PATCH] remove mingw32 ifdefs in file.c

Joakim Plate elupus
Thu Dec 21 14:49:27 CET 2006


> Diego Biurrun <diego <at> biurrun.de> writes:
> 
> Patch applied, we're on a crusade against this system-specific hackery
> anyway.
> 
> Diego
> 


I suspect this is one of those things you wish to have fixed in mingw, but
anyways worth noting. 

The commit made on this will break support for >2gb files in mingw. mingw
doesn't have a 64bit off_t and standard file functions. It only has explicit
support for it using off64_t, lseeki64 and similars.

Now this isn't impossible to hack around using some changes to sys/stat.h and
stdio.h in mingw, thou it has a tendency to get abit uggly if not done properly.

/Joakim






More information about the ffmpeg-devel mailing list