X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-itu%2Fsrc%2Fcodecs%2Fh264%2Fsets.rs;h=b02faf121df592c21f90bccfb1cb8da0fa56384b;hp=5bd51a955e395abb3c96405203901648779fff0d;hb=b7c882c1ce6f86c07c2340751200e3a060942826;hpb=01f55c6a507164e6292867d2438d08d1ee0f8e55 diff --git a/nihav-itu/src/codecs/h264/sets.rs b/nihav-itu/src/codecs/h264/sets.rs index 5bd51a9..b02faf1 100644 --- a/nihav-itu/src/codecs/h264/sets.rs +++ b/nihav-itu/src/codecs/h264/sets.rs @@ -50,7 +50,7 @@ pub fn is_high_profile(profile: u8) -> bool { } } -#[allow(clippy::cyclomatic_complexity)] +#[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() };