From 5c811cd5eea2a33e4846f988a67bc54337410c73 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 16 Jul 2022 09:54:46 +0200 Subject: [PATCH] h264: drop unneeded mut --- nihav-itu/src/codecs/h264/dsp/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5