diff --git a/crates/ec-alac/src/encode.rs b/crates/ec-alac/src/encode.rs index 61a9e983..d0aab98e 100644 --- a/crates/ec-alac/src/encode.rs +++ b/crates/ec-alac/src/encode.rs @@ -453,7 +453,6 @@ fn plan_of(c: Candidate) -> ChannelPlan { } } -/// The sample at byte offset `at` of one plane, or `None` past its end. fn sample_at(plane: &[u8], at: usize, format: SampleFormat) -> Option { match format { SampleFormat::S16 => Some(i32::from(i16::from_ne_bytes(plane.get(at..at + 2)?.try_into().ok()?))),