mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-15 08:57:08 +00:00
MP4: Fix subtraction
This commit is contained in:
parent
542f7dabc7
commit
5c5c95418c
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ fn parse_freeform<R>(data: &mut R, reader_size: u64) -> Result<AtomIdent>
|
||||||
where
|
where
|
||||||
R: Read + Seek,
|
R: Read + Seek,
|
||||||
{
|
{
|
||||||
let mean = freeform_chunk(data, b"mean", reader_size - 4)?;
|
let mean = freeform_chunk(data, b"mean", reader_size)?;
|
||||||
let name = freeform_chunk(data, b"name", reader_size - 8)?;
|
let name = freeform_chunk(data, b"name", reader_size - 4)?;
|
||||||
|
|
||||||
Ok(AtomIdent::Freeform { mean, name })
|
Ok(AtomIdent::Freeform { mean, name })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue