h264: drop unneeded mut
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 16 Jul 2022 07:54:46 +0000 (09:54 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 27 Jul 2022 07:55:36 +0000 (09:55 +0200)
nihav-itu/src/codecs/h264/dsp/mod.rs

index df5b287f6a74900b6f38a8dbc40d43a54c159fd3..b19225dda3c3804f7f52ae0876fba7d66e006876 100644 (file)
@@ -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 {