[Ffmpeg-devel] uint_fast64_t in vorbis.c
Wolfram Gloger
wmglo
Tue Jun 7 12:18:59 CEST 2005
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).
How about this?
Regards,
Wolfram.
--- ffmpeg/libavcodec/common.h Mon May 23 09:53:35 2005
+++ ffmpeg-wg/libavcodec/common.h Tue Jun 7 12:17:51 2005
@@ -125,13 +125,13 @@
#endif
#ifdef EMULATE_FAST_INT
-/* note that we don't emulate 64bit ints */
typedef signed char int_fast8_t;
typedef signed int int_fast16_t;
typedef signed int int_fast32_t;
typedef unsigned char uint_fast8_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
+typedef uint64_t uint_fast64_t;
#endif
#ifndef INT_BIT
More information about the ffmpeg-devel
mailing list