X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-itu%2Fsrc%2Fcodecs%2Fh264%2Fsets.rs;h=5bd51a955e395abb3c96405203901648779fff0d;hp=88566992e3748baeefaf91fb9a3eb15ebf8b4d3f;hb=4a1ca15c9298340e8f2cb2ad6016109375cc45b9;hpb=5317ee9cf0160ca62988c898526f3e4018bb6f27 diff --git a/nihav-itu/src/codecs/h264/sets.rs b/nihav-itu/src/codecs/h264/sets.rs index 8856699..5bd51a9 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::cyclomatic_complexity)] pub fn parse_sps(src: &[u8]) -> DecoderResult { let mut br = BitReader::new(src, BitReaderMode::BE); let mut sps: SeqParameterSet = unsafe { std::mem::zeroed() };