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:
parent
18e123c624
commit
a6b2de0dcc
|
@ -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 {
|
||||
|
|
|
@ -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,
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue