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

Diego Biurrun diego
Sat Dec 23 00:44:33 CET 2006

On Fri, Dec 22, 2006 at 04:37:47PM -0200, Ramiro Polla wrote:
> >- The correct declaration of _lseeki64 is __cdecl. There's no need to 
> >declare it here. Sleep is declared because windows.h is not included, 
> >but in this case, fcntl.h has this function.
> >- By including first this define from lseek to _lseeki64, when fcntl.h 
> >is included, it tries to define _lseeki64 twice (one for the real 
> >function, and another for lseek, which was defined to be _lseeki64).
> >
> >Altough I can confirm that my previous patch did break files > 2 gb, 
> >and that it does work when _lseeki64 is used.
> Attached patch works.



More information about the ffmpeg-devel mailing list