diff --git a/crates/ec-mpegts/src/demux.rs b/crates/ec-mpegts/src/demux.rs index 480e48fe..be5130f8 100644 --- a/crates/ec-mpegts/src/demux.rs +++ b/crates/ec-mpegts/src/demux.rs @@ -68,7 +68,6 @@ enum Cc { const WRAP33: i64 = 1 << 33; -/// Signed distance from `b` to `a` on the 33-bit clock, in [-2^32, 2^32). pub(crate) fn wrap_delta(a: i64, b: i64) -> i64 { let d = (a - b).rem_euclid(WRAP33); if d >= WRAP33 / 2 { d - WRAP33 } else { d }