From: Kostya Shishkov Date: Sat, 16 Jul 2022 07:54:46 +0000 (+0200) Subject: h264: drop unneeded mut X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=5c811cd5eea2a33e4846f988a67bc54337410c73;p=nihav.git h264: drop unneeded mut --- diff --git a/nihav-itu/src/codecs/h264/dsp/mod.rs b/nihav-itu/src/codecs/h264/dsp/mod.rs index df5b287..b19225d 100644 --- a/nihav-itu/src/codecs/h264/dsp/mod.rs +++ b/nihav-itu/src/codecs/h264/dsp/mod.rs @@ -521,7 +521,7 @@ impl IPred8Context { tl: 128, } } - pub fn fill(&mut self, buf: &mut [u8], idx: usize, stride: usize, has_t: bool, has_tr: bool, has_l: bool, has_tl: bool) { + pub fn fill(&mut self, buf: &[u8], idx: usize, stride: usize, has_t: bool, has_tr: bool, has_l: bool, has_tl: bool) { let mut t = [0x80u8; 19]; let mut l = [0x80u8; 11]; if has_t {