[FFmpeg-devel] qt-faststart update

Frank Barchard fbarchard
Wed Jun 24 22:00:47 CEST 2009


Thank!  The types should be possible to deal with.  Any suggestions for a
portable 64 bit fseek?

On Wed, Jun 24, 2009 at 8:04 AM, Ramiro Polla <ramiro.polla at gmail.com>wrote:

> >>> --- tools/qt-faststart.orig.c 2009-05-07 21:41:30.000000000 -0700
> >>> +++ tools/qt-faststart.c 2009-06-24 01:04:39.804309200 -0700
> >>> @@ -26,7 +27,15 @@
> >>>
> >>>  #include <stdio.h>
> >>>  #include <stdlib.h>
> >>> +#ifndef _MSC_VER
> >>>  #include <inttypes.h>
> >>> +#else
> >>> +#define uint64_t unsigned __int64
> >>> +#define uint32_t unsigned int
> >>> +#define uint8_t unsigned char
> >>> +#define ftello _ftelli64
> >>> +#define fseeko _fseeki64
> >>> +#endif
> >>
> >> We do not support Visual Studio, get rid of this.  In any case, it would
> >> have to be a separate patch.
> >
> > I'm needing VC for debugging.  It also produces faster code if built with
> Intel C or VC for Windows.
> > Keep in mind this is a stand alone tool, not linked into ffmpeg
> libraries.
> > I'll submit a separate patch to the original for VC support.
>
> For the type definitions you can use msinttypes:
> http://code.google.com/p/msinttypes/
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



More information about the ffmpeg-devel mailing list