[Ffmpeg-devel] [PATCH] Vorbis decoder

Dave Dodge dododge
Fri May 13 22:44:04 CEST 2005


On Fri, May 13, 2005 at 08:01:29PM +0200, Alexander Strasser wrote:
> AFAICT it doesn't work out that good on new 64 bit architectures where
> it is decided for some compilers that int still stays 32 bit. Though i
> wonder why?

BTW this is typical.  The only 64-bit platforms using a 64-bit "int"
are unusual ones, such as supercomputers and DSP chips (which might
even use a 64-bit "char").  Most Unix-derived systems, including Linux
and MacOS, use a 32-bit int and 64-bit long on 64-bit hardware.  Some
of the reasons for this are given here (search for "1995"):

  http://www.usenix.org/publications/login/standards/10.data.html

64-bit Windows takes this a step further: even "long" stays at 32
bits.  This is done primarily to to make it easier to use existing
code and data:

  http://blogs.msdn.com/oldnewthing/archive/2005/01/31/363790.aspx
  http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win64/win64/abstract_data_models.asp

                                                  -Dave Dodge





More information about the ffmpeg-devel mailing list