mp3 header check bug

Jingmin Wei weijingmin.cn at gmail.com
Tue Mar 5 08:02:03 UTC 2013


Hi All,

I found some mp3 length returned with bad value, so I have checked the
source code. I found something could be wrong with function
 bool MPEG::File::secondSynchByte(char byte) .

In this case "the mp3 is MPEG1 Layer1 no CRC"  the second byte could be FF.
So I modify the file as the diff.

Thanks

Jeffrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3bug.diff
Type: application/octet-stream
Size: 434 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20130305/cdb87ce6/attachment.obj>


More information about the taglib-devel mailing list