We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Into
1 parent c5b6226 commit 6842f8eCopy full SHA for 6842f8e
mp4parse/src/lib.rs
@@ -1535,7 +1535,7 @@ fn read_iref<T: Read>(src: &mut BMFFBox<T>) -> Result<TryVec<SingleItemTypeRefer
1535
let reference_count = be_u16(&mut b)?;
1536
for _ in 0..reference_count {
1537
let to_item_id = if version == 0 {
1538
- be_u16(&mut b)? as u32
+ be_u16(&mut b)?.into()
1539
} else {
1540
be_u32(&mut b)?
1541
};
@@ -1642,7 +1642,7 @@ fn read_ipma<T: Read>(
1642
let entry_count = be_u32(src)?;
1643
for _ in 0..entry_count {
1644
let item_id = if version == 0 {
1645
- be_u16(src)? as u32
+ be_u16(src)?.into()
1646
1647
be_u32(src)?
1648
0 commit comments