From c53e3aa894e339011b5371dce317d6d03d64f072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 2 Dec 2026 11:05:17 +0300 Subject: [PATCH] ec-ac3 mantissa.rs: drop the doc comment added in 244c6bdf (no comments in code). Root cause of review FAIL: new doc text on Dither::value. Code unchanged. Evidence: cargo check -p ec-ac3 --all-targets clean. LFE path audited vs ffmpeg n8.0 (ac3dec.c 394-420, 1222-1240, 1097-1103; eac3dec.c 195-290, 384, 447-465): bap0 non-AHT LFE gives 0 (dithflag[lfe]=0), LFE bit alloc is_lfe bin 6, exp D15 2 groups, no gainrng, AHT flag parse matches. Gate ch3 still unverified (orchestrator to run csi_miami_5.1_256_spx_small.eac3) --- crates/ec-ac3/src/mantissa.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/ec-ac3/src/mantissa.rs b/crates/ec-ac3/src/mantissa.rs index e9d14afe..7960c797 100644 --- a/crates/ec-ac3/src/mantissa.rs +++ b/crates/ec-ac3/src/mantissa.rs @@ -50,8 +50,6 @@ impl Default for Dither { } impl Dither { - /// Next AHT zero-bit dither, uniform in ±0.5: ffmpeg's raw word - /// `(w & 0x7fffff) - 0x400000` scaled by 2^-23. pub fn value(&mut self) -> f32 { let x = self.next_word() & 0x7f_ffff; (x as i32 - 0x40_0000) as f32 / 8_388_608.0