0.1.29 upd

This commit is contained in:
Michael Wain 2025-02-15 21:58:46 +03:00
parent e0109c296a
commit bd2173cf16
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "itunesdb"
version = "0.1.28"
version = "0.1.29"
edition = "2021"
authors = ["alterwain"]

View File

@ -54,7 +54,7 @@ pub mod deserializer {
}
},
ChunkType::LocationTag => {
u = usize::try_from(header.end_of_chunk).unwrap() - 12;
u = usize::try_from(header.children_count).unwrap() - 12;
let ds: LocationTag = bincode::deserialize(&data[i..i + u]).unwrap();
if ds.tag_type == 3 {
if let ASomeList::Images(images) = &mut adb.find_dataset(1).child {
@ -78,7 +78,6 @@ pub mod deserializer {
info!("str: {}", g);
name.args.push((ds, g));
u += str_end;
}
}
} else {