Skip to content

Commit 2809c83

Browse files
author
Adrian
committed
Fix formatting
1 parent bc0f5a7 commit 2809c83

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mp4parse/src/unstable.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,7 @@ pub struct Microseconds<T>(pub T);
497497
/// using provided `MediaTimeScale`
498498
pub fn media_time_to_us(time: MediaScaledTime, scale: MediaTimeScale) -> Option<Microseconds<u64>> {
499499
let microseconds_per_second = 1_000_000;
500-
rational_scale::<u64, u64>(time.0, scale.0, microseconds_per_second)
501-
.map(|v| Microseconds(v))
500+
rational_scale::<u64, u64>(time.0, scale.0, microseconds_per_second).map(|v| Microseconds(v))
502501
}
503502

504503
/// Convert `time` in track's local (mdhd) timescale to microseconds,
@@ -512,8 +511,7 @@ where
512511
{
513512
assert_eq!(time.1, scale.1);
514513
let microseconds_per_second = 1_000_000;
515-
rational_scale::<T, u64>(time.0, scale.0, microseconds_per_second)
516-
.map(|v| Microseconds(v))
514+
rational_scale::<T, u64>(time.0, scale.0, microseconds_per_second).map(|v| Microseconds(v))
517515
}
518516

519517
#[test]

0 commit comments

Comments
 (0)