Fix ilst atom parsing

Fix ilst children parsing; when parsing children, we're already 8 bytes
into the ilst atom, so take that into account.
This commit is contained in:
Julien BLACHE 2009-04-02 13:16:07 +02:00
parent 93a97956a0
commit 46acba0edb
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ int scan_get_aacinfo(char *filename, MP3FILE *pmp3) {
ret = scan_aac_drilltoatom(hfile, "moov:udta:meta:ilst", &atom_offset, &atom_length);
if(ret) {
current_offset = 8; /* we're already 2*4 bytes into the ilst atom */
/* found the tag section - need to walk through now */
while (current_offset < (uint64_t)atom_length) {
bytes_read = sizeof(uint32_t);