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:
parent
93a97956a0
commit
46acba0edb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue