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

Steve Lhomme steve.lhomme
Mon Mar 20 16:09:01 CET 2006


Rich Felker wrote:
> On Mon, Mar 20, 2006 at 02:01:40PM +0100, Steve Lhomme wrote:
>> Baptiste COUDURIER wrote:
>>> Hi
>>>
>>> Steve Lhomme wrote:
>>>> [...]
>>>>
>>>>
>>>> But now MinGW build is broken (for qt-faststart)...
>>>>
>>> Heard of it, will define fseeko to fseek on win32, any chance win32 have
>>> a 64 bit functions ? fseeko64, ftello64 ?
>> According to MSDN, fseek takes a long for the offset. So it should be 
>> enough.
> 
> No, long is not enough. That's the whole reason fseeko/ftello were
> added by posix.

So you might use _lseeki64(). It uses a file descriptor so you need to 
use _fileno() too.





More information about the ffmpeg-devel mailing list