[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: bug in header size fld?
From:       Ray <whatdoineed2do () yahoo ! co ! uk>
Date:       2007-10-19 19:25:28
Message-ID: 240652.14103.qm () web23308 ! mail ! ird ! yahoo ! com
[Download RAW message or body]

> however, i've got another Q; according to the
id3v2.4
> > spec, section 3, "The bitorder .. is most
significant
> > bit first", ie BE byte order.  i'm running off x86
so
> > i've got LE byte order and if we look at the
header of
> > a sample mp3 tag from a file which has a tag size
of
> > 1083 bytes (was empty file, with a tag resulting
in
> > 1093 file size):
> >
> > 4449  0433   0000   0000   3b08   5054 3145  0000
> > I D   3 004  \0 \0  \0 \0  \b ;   T P  E  1  \0 \0
> >
> > looking at bytes 7-10 (the tag size) '0000 3b08',
we
> > see this size stored as a LE synchsafe int,
> > representing 1083 bytes.
> >
> > therefore, is this a bug in the byte ordering code
> > or is it something i misunderstanding from the
spec?
>
> I suppose that depends...have you checked to see how
large
> your tag actually is?  As a synchsafe big int, that
would 
> work out to 7,560, which would be large but not
anywhere
> out of the range of possibilities.
> --Jeff

i took another look at the mp3 file and the tag is
1083 bytes long; this is confirmed when i use the API
function to get the header size...


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic