X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-itu%2Fsrc%2Fcodecs%2Fh264%2Fsets.rs;h=b02faf121df592c21f90bccfb1cb8da0fa56384b;hb=b7c882c1ce6f86c07c2340751200e3a060942826;hp=88566992e3748baeefaf91fb9a3eb15ebf8b4d3f;hpb=696e4e20bf7167121352f247893370cb83213d5c;p=nihav.git diff --git a/nihav-itu/src/codecs/h264/sets.rs b/nihav-itu/src/codecs/h264/sets.rs index 8856699..b02faf1 100644 --- a/nihav-itu/src/codecs/h264/sets.rs +++ b/nihav-itu/src/codecs/h264/sets.rs @@ -50,6 +50,7 @@ pub fn is_high_profile(profile: u8) -> bool { } } +#[allow(clippy::cognitive_complexity)] pub fn parse_sps(src: &[u8]) -> DecoderResult { let mut br = BitReader::new(src, BitReaderMode::BE); let mut sps: SeqParameterSet = unsafe { std::mem::zeroed() };