mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 10:13:45 -04:00
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);
|
ret = scan_aac_drilltoatom(hfile, "moov:udta:meta:ilst", &atom_offset, &atom_length);
|
||||||
if(ret) {
|
if(ret) {
|
||||||
|
current_offset = 8; /* we're already 2*4 bytes into the ilst atom */
|
||||||
/* found the tag section - need to walk through now */
|
/* found the tag section - need to walk through now */
|
||||||
while (current_offset < (uint64_t)atom_length) {
|
while (current_offset < (uint64_t)atom_length) {
|
||||||
bytes_read = sizeof(uint32_t);
|
bytes_read = sizeof(uint32_t);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user