]> git.nihav.org Git - nihav.git/commitdiff
h264: silence unused assigment warning master
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 27 Feb 2026 17:53:23 +0000 (18:53 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 27 Feb 2026 17:53:23 +0000 (18:53 +0100)
nihav-itu/src/codecs/h264/sets.rs

index cafc4caf1d2ac6675569c0c1ffb6fc6be2134033..3fe0ad03c38f17ad1af28bddd7e39ec375990f55 100644 (file)
@@ -355,6 +355,7 @@ pub fn parse_pps(src: &[u8], sps_arr: &[Arc<SeqParameterSet>], full_size: usize)
             _ => {},
         };
 println!("slice mode!");
+        let _ = pps; // silence unused assignments warning
         return Err(DecoderError::NotImplemented);
     }
     pps.num_ref_idx_l0_active                       = (br.read_ue()? + 1) as usize;