[vlc-devel] [PATCH] MP3: support TRCK total number

Rémi Denis-Courmont remi at remlab.net
Wed Jun 13 08:31:39 CEST 2012


On Wed, 13 Jun 2012 07:01:13 +0200, Jean-Baptiste Kempf <jb at videolan.org>
wrote:
> On Wed, Jun 13, 2012 at 06:37:15AM +0200, Rémi Denis-Courmont wrote :
>> Why 11 bytes?
> 
> I assumed 10bytes for 2^32  and 1 extra. Maybe that is stoopid, indeed
:D

For signed 32-bits decimal, I think the maximum is 12 bytes (sign + 10
digits + nul). Nothing says that int is only 32-bits though.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list