[FFmpeg-devel] qt-faststart update
Thu Jun 25 02:21:03 CEST 2009
On Wed, Jun 24, 2009 at 2:22 PM, Reimar D?ffinger
<Reimar.Doeffinger at gmx.de>wrote:
> On Wed, Jun 24, 2009 at 10:07:47PM +0200, Karl Blomster wrote:
> > Frank Barchard wrote:
> >> Thank! The types should be possible to deal with. Any suggestions for
> >> portable 64 bit fseek?
> > I think
> > #ifdef _WIN32
> > # ifdef __MINGW32__
> > # define fseeko fseeko64
> > # define ftello ftello64
> > # else
> > # define fseeko _fseeki64
> > # define ftello _ftelli64
> > # endif
> > #endif
> > is the closest you're going to get.
> See MinGW patches to add this feature. There is already a bug report with
> an unfinished patch. That is the only proper place.
Thanks Reimar and Karl. I see it can be written a little more generically.
My next step will be upgrading compilers to 2008 or 2010 beta and see if
that gets me closer to compatibility.
Its also likely I could remove the seek and tell entirely.
For c99 types, it may be possible to find a common header.
Its event ffmpeg-devel wants very small changes, so I'll spin that off for
another patch if it remains interesting.
So I've removed the visual c ifdef, but kept the MINGW one.
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel