[FFmpeg-devel] qt-faststart update

Ramiro Polla ramiro.polla
Wed Jun 24 17:04:00 CEST 2009


>>> --- 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/



More information about the ffmpeg-devel mailing list