mirror of
https://github.com/alfg/mp4-rust.git
synced 2024-06-11 09:29:21 +00:00
fix test and serde version.
This commit is contained in:
parent
eb84c8af20
commit
915a4c582d
|
@ -22,7 +22,7 @@ thiserror = "^1.0"
|
|||
byteorder = "1"
|
||||
bytes = "0.5"
|
||||
num-rational = { version = "0.3", features = ["serde"] }
|
||||
serde = { version = "1.0.0", features = ["derive"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -231,7 +231,7 @@ mod tests {
|
|||
let ftyp_fcc = 0x66747970;
|
||||
let ftyp_value = FourCC::from(ftyp_fcc);
|
||||
assert_eq!(ftyp_value.value, "ftyp");
|
||||
let ftyp_fcc2 = ftyp_value.into();
|
||||
let ftyp_fcc2: u32 = ftyp_value.into();
|
||||
assert_eq!(ftyp_fcc, ftyp_fcc2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue