[Ffmpeg-devel] uint_fast64_t in vorbis.c

François Revol revol
Tue Jun 7 14:38:54 CEST 2005


> On Tue, Jun 07, 2005 at 10:18:59AM -0000, Wolfram Gloger wrote:
> > Hi,
> > 
> > > > > as a result, FFmpeg does not currently build on systems that 
> > > > > don't
> > > > > define uint_fast64_t.
> > > > 
> > > > Just out of curiosity, what system are you using that doesn't 
> > > > define
> > > > this type?
> > > 
> > > OpenBSD
> > 
> > You should file a bug, because ISO C _requires_ uint_fast64_t
> > (surprised me, too).
> 
> yeah, yeah, yeah ... they know.
> 
> > How about this?
> 
> it's not "fast".
> <Enclosure: avc-common.h-patch (Type: Text File)>
> +#if INT_BIT == 64
> +typedef unsigned int  uint_fast64_t;
> +#else
> +typedef unsigned long  uint_fast64_t;
that's wrong ^^ long is *not* 64 bits either on x86 at least.

Fran?ois.





More information about the ffmpeg-devel mailing list