From cd72fd8a77724debf824f609ef6545d934980aa4 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 29 Oct 2022 11:17:02 +0200 Subject: [PATCH] remove stray whitespaces --- nihav-mpeg/src/codecs/aac/sbr/bs.rs | 2 +- nihav-mpeg/src/codecs/aac/sbr/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nihav-mpeg/src/codecs/aac/sbr/bs.rs b/nihav-mpeg/src/codecs/aac/sbr/bs.rs index 292a32a..02c1108 100644 --- a/nihav-mpeg/src/codecs/aac/sbr/bs.rs +++ b/nihav-mpeg/src/codecs/aac/sbr/bs.rs @@ -203,7 +203,7 @@ fn read_grid(br: &mut BitReader, chan: &mut SBRChannel) -> DecoderResult<()> { chan.num_noise = 1; chan.noise_env_border[0] = chan.env_border[0]; } - + Ok(()) } diff --git a/nihav-mpeg/src/codecs/aac/sbr/mod.rs b/nihav-mpeg/src/codecs/aac/sbr/mod.rs index fb455cb..f337e96 100644 --- a/nihav-mpeg/src/codecs/aac/sbr/mod.rs +++ b/nihav-mpeg/src/codecs/aac/sbr/mod.rs @@ -400,7 +400,7 @@ fn calculate_master_frequencies(f: &mut [usize; SBR_BANDS], k0: usize, k2: usize if v_dk1[0] < max_vdk0 { let change = (max_vdk0 - v_dk1[0]).min((v_dk1[num_bands1 - 1] - v_dk1[0]) / 2); v_dk1[0] += change; - v_dk1[num_bands1 - 1] -= change; + v_dk1[num_bands1 - 1] -= change; } let mut v_k1 = [0; SBR_BANDS]; v_k1[0] = k1; -- 2.39.5