Bug 90571 - Refuses to read ID3v2 frames; cries "Invalid sample rate"
Summary: Refuses to read ID3v2 frames; cries "Invalid sample rate"
Status: RESOLVED NOT A BUG
Alias: None
Product: taglib
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-30 22:49 UTC by Ilya Konstantinov
Modified: 2004-10-21 01:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase (50.00 KB, audio/x-mp3)
2004-09-30 22:52 UTC, Ilya Konstantinov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Konstantinov 2004-09-30 22:49:14 UTC
Version:           1.3 (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages

On a file which id3lib parses (and writes) properly, TagLib refuses to read the ID3v2 tag, complaining:
TagLib: MPEG::Header::parse() -- Invalid sample rate.

I'm attaching a sample (first few seconds, cut abruptly, still reproducing the issue).
Comment 1 Ilya Konstantinov 2004-09-30 22:52:11 UTC
Created attachment 7737 [details]
testcase
Comment 2 Scott Wheeler 2004-10-21 01:33:35 UTC
Actually the invalid sample rate stuff is unrelated.  I just took a look at this file and actually the tag is corrupted.  It has several frames with a length of zero which isn't allowed by the standard and is used internally as a sanity check in TagLib.  When it hits the invalid frame it stops parsing the tag.

I fortunately haven't ever run across other files where this happened, so I don't think this is a common enough case to hack around the brokenness.