1
0
Fork 0
mirror of https://github.com/alfg/mp4-rust.git synced 2024-06-02 13:39:54 +00:00

clippy fixes

This commit is contained in:
Jensenn 2023-01-05 13:00:00 -07:00
parent 18e123c624
commit a6b2de0dcc
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ impl EmsgBox {
4 + // id
Self::time_size(version) +
(scheme_id_uri.len() + 1) as u64 +
(value.len() as u64 + 1) as u64
(value.len() as u64 + 1)
}
fn time_size(version: u8) -> u64 {

View file

@ -19,7 +19,7 @@ impl<R: Read + Seek> ReadBox<&mut R> for MetaBox {
if version != 0 {
return Err(Error::UnsupportedBoxVersion(
BoxType::UdtaBox,
version as u8,
version,
));
}