[ID3 Dev] Apple iTunes complicance issues

Scott Wheeler wheeler at kde.org
Mon Feb 12 17:58:31 PST 2007


On Mon, 12 Feb 2007 19:58:34 -0500, Ben Bennett wrote:
> Note, I am not sure how iTunes can actually fix this.  Given that they
> have been writing horribly broken frames, they have to be able to read
> them or people will scream.  I think the only hope is for us to rev
> 2.4.0 to 2.4.1 [...]

It's a lot easier than that.  Here's a pseudocode algorithm:

size = read(4 bytes)

if ( the upper bit of any byte in size is 1 )
  synchsafe = false
else
  if ( next frame starts at synchsafe interpretation + 1 )
    synchsafe = true
  else
    synchsafe = false

And then proceed based on the value of synchsafe.

Combining replies:

On Mon, 12 Feb 2007 17:42:50 -0800, Ernest Prabhakar wrote:
> For example, it sounds like the usage:
> 
> a) Add an MP3 file to Amarok
> b) Add a picture
> c) Import it into iTunes
> 
> will result in broken image.  Right?

Yes, here is the bug report that came through for Amarok:

http://bugs.kde.org/show_bug.cgi?id=121400

As noted, I filed this with Apple more than a year ago.

-Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org



More information about the ID3v2 mailing list