[Ffmpeg-devel] Re: [PATCH] qt-faststart > 4gb files compliant

Steve Lhomme slhomme
Mon Mar 20 18:14:10 CET 2006


Baptiste COUDURIER wrote:
>> So you might use _lseeki64(). It uses a file descriptor so you need to
>> use _fileno() too.
> 
> Are you sure ftello64 and fseeko64 does not exist on MingW/Cygwin ? I
> can see it in headers :
> 
> stdio.h :
> int __cdecl fseeko64 (FILE*, off64_t, int);
> 
> #ifdef __USE_MINGW_FSEEK
> int __cdecl __mingw_fseeko64 (FILE *, off64_t, int);
> #define fseeko64(fp, offset, whence)  __mingw_fseeko64(fp, offset, whence)
> #endif
> 
> They could have implemented fseeko and ftello.
> Change fseeko to fseeko64 and ftello to ftello64, Does it compile ?

Yes, it compiles and links.

Steve





More information about the ffmpeg-devel mailing list