[MPlayer-dev-eng] [PATCH] improving MP3 detection

D Richard Felker III dalias at aerifal.cx
Thu Sep 9 21:32:22 CEST 2004


On Thu, Sep 09, 2004 at 07:24:39PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Thursday, 09 September 2004 at 15:52, D Richard Felker III wrote:
> [...]
> > anyway, int is basically stuck at 32 bits forever. why? if int is
> > bigger than 32 bits, there's at least one size that you _cannot_ get.
> 
> Hm... I can't parse this sentence. What 'size' are you talking about?

suppose int is 64 bits. then you only have two smaller types, char and
short, but three smaller sizes you might want (8, 16, and 32). so
you're out of luck. what are you going to do when you want to process
16 bit samples (e.g. audio) and there's no 16 bit type? read 32 bits
at a time and mask and shift bits away? :)

imo, with these considerations in mind, there's no practical way to
increase int beyond 32 bits in c...

rich




More information about the MPlayer-dev-eng mailing list