File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ impl<'a> Iterator for TimeOffsetIterator<'a> {
328
328
impl < ' a > TimeOffsetIterator < ' a > {
329
329
fn next_offset_time ( & mut self ) -> TrackScaledTime < i64 > {
330
330
match self . next ( ) {
331
- Some ( v) => TrackScaledTime :: < i64 > ( v as i64 , self . track_id ) ,
331
+ Some ( v) => TrackScaledTime :: < i64 > ( v, self . track_id ) ,
332
332
_ => TrackScaledTime :: < i64 > ( 0 , self . track_id ) ,
333
333
}
334
334
}
Original file line number Diff line number Diff line change @@ -1390,7 +1390,7 @@ pub unsafe extern "C" fn mp4parse_get_fragment_info(
1390
1390
1391
1391
if let ( Some ( time) , Some ( scale) ) = ( duration, context. timescale ) {
1392
1392
info. fragment_duration = match media_time_to_us ( time, scale) {
1393
- Some ( time_us) => time_us. 0 as u64 ,
1393
+ Some ( time_us) => time_us. 0 ,
1394
1394
None => return Mp4parseStatus :: Invalid ,
1395
1395
}
1396
1396
}
You can’t perform that action at this time.
0 commit comments