fix let mut foo = &mut bar warning
[nihav.git] / src / codecs / indeo / indeo2.rs
index 35201b2529e8aac4756c654849caca6aaddc6d4e..4f7abdde717298cb29bb686ff49067d93251e977 100644 (file)
@@ -206,7 +206,7 @@ impl Indeo2Decoder {
         let cb = &self.cb;
 
         let mut data = buf.get_data_mut();
-        let mut framebuf: &mut [u8] = data.as_mut_slice();
+        let framebuf: &mut [u8] = data.as_mut_slice();
 
         let table = &INDEO2_DELTA_TABLE[tableno];
 
@@ -269,7 +269,7 @@ impl Indeo2Decoder {
         let cb = &self.cb;
 
         let mut data = buf.get_data_mut();
-        let mut framebuf: &mut [u8] = data.as_mut_slice();
+        let framebuf: &mut [u8] = data.as_mut_slice();
 
         let table = &INDEO2_DELTA_TABLE[tableno];