From: Kostya Shishkov Date: Wed, 15 Apr 2020 06:51:18 +0000 (+0200) Subject: remove trailing whitespaces X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=e65c00402a7bfdeb7e1922a46fab0fbabb7bbf33;p=nihav.git remove trailing whitespaces --- diff --git a/nihav-codec-support/src/codecs/h263/decoder.rs b/nihav-codec-support/src/codecs/h263/decoder.rs index 1d67032..0eb95ec 100644 --- a/nihav-codec-support/src/codecs/h263/decoder.rs +++ b/nihav-codec-support/src/codecs/h263/decoder.rs @@ -348,7 +348,7 @@ impl H263BaseDecoder { } else { if single_mv { cur_mv } else { bi.mv_f[blk + 1] } }; - + let mut obmcbuf = NASimpleVideoFrame::from_video_buf(&mut self.obmc_buf).unwrap(); if let Some(ref srcbuf) = self.ipbs.get_lastref() { diff --git a/nihav-codec-support/src/data/mod.rs b/nihav-codec-support/src/data/mod.rs index 35a8973..b8980f2 100644 --- a/nihav-codec-support/src/data/mod.rs +++ b/nihav-codec-support/src/data/mod.rs @@ -5,7 +5,7 @@ /// In the decoding process of many codecs there is a need to store some previously decoded information and only immediate top neighbours are used. /// This can be done by storing either the full information for the whole frame or just the top line and move information for last decoded row to the top every time when row decoding is done. /// `GenericCache` implements the second approach. -/// +/// /// # Examples /// /// Create a cache for one line and use top pixel for prediction: diff --git a/nihav-core/src/compr/deflate.rs b/nihav-core/src/compr/deflate.rs index 8e91caa..1b3dc68 100644 --- a/nihav-core/src/compr/deflate.rs +++ b/nihav-core/src/compr/deflate.rs @@ -747,7 +747,7 @@ fn lengths_to_codes(lens: &[u8], codes: &mut [ShortCodebookDesc]) -> DecompressR *codes = ShortCodebookDesc { code: 0, bits: 0 }; } } - + Ok(()) } diff --git a/nihav-game/src/codecs/midivid3.rs b/nihav-game/src/codecs/midivid3.rs index da6b628..d65e448 100644 --- a/nihav-game/src/codecs/midivid3.rs +++ b/nihav-game/src/codecs/midivid3.rs @@ -305,7 +305,7 @@ fn scale_coef(val: i32, scale: i16) -> i32 { } macro_rules! idct_1d { - ($c0: expr, $c1: expr, $c2: expr, $c3: expr, $c4: expr, $c5: expr, $c6: expr, $c7: expr) => { + ($c0: expr, $c1: expr, $c2: expr, $c3: expr, $c4: expr, $c5: expr, $c6: expr, $c7: expr) => { let t0 = $c0 + $c4; let t1 = $c0 - $c4; let t2 = $c2 + $c6;