[ID3 Dev] How do I deal with this problem COMM frame

Paul Taylor paul_t100 at fastmail.fm
Mon Apr 2 22:34:54 PDT 2007


Its V24, what are their different ways of writing frame sizes ?
Jud White wrote:
> Have you tested to see if it's written with a syncsafe frame size?  
> What ID3 version?
>
> Paul Taylor wrote:
>> In my ID3 Tag library I am having problems with a particular tag. I 
>> have a tag with a problem COMM frame, the COMM frame says that it is 
>> 1000 bytes long, whereas in fact it is only about 500 bytes long. The 
>> end result is that next 500 bytes of the ID3 tag are assumed to be 
>> part of the Comment description when in fact they are other frames, 
>> and no more frames are loaded after the COMM frame because 
>> immediately after 1000 bytes after the COMM frame there is not a 
>> valid frame identifier. There are lots of valuable frames after the 
>> COMM frame and I would like my tag library to load as much 
>> information as I can.
>>
>> Any ideas how I should:
>>    Deal with frames in general that have an invalid size in their 
>> header,
>>    Determine in the */COMM.The actual text field/* the end of the 
>> real data, I thought I could look for null terminaters because there 
>> should be any in this field
>>
>> thanks Paul
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
>> For additional commands, e-mail: id3v2-help at id3.org
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
> For additional commands, e-mail: id3v2-help at id3.org
>
>
>


---------------------------------------------------------------------
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