Ignoring the cover on some tracks
lalinsky at gmail.com
Wed Mar 31 21:23:29 CEST 2010
On Mon, Mar 29, 2010 at 4:20 PM, Thomas Post <post at equinux.com> wrote:
> I have some (maybe corrupt) mp4 tracks that have an cover. The cover part
> contains a 'data' atom and afterwards a 'name' atom.
Out of interest, could you send me an extract of the file? Or just a
hexdump of the relevant part?
> So the return in the if(name != "data")... should be a break right? That
> would ignore the unexpected atom but still adds the maybe previously correct
> parsed 'data' atom to d->items. Because (at least) iTunes can read the
> covers from these tracks.
That seems reasonable. Continuing if we found an atom different from
"data" could be dangerous, but stopping and returning what we have so
far seems fine.
More information about the taglib-devel