projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix or silence clippy warnings
[nihav.git]
/
nihav-itu
/
src
/
codecs
/
h264
/
sets.rs
diff --git
a/nihav-itu/src/codecs/h264/sets.rs
b/nihav-itu/src/codecs/h264/sets.rs
index 88566992e3748baeefaf91fb9a3eb15ebf8b4d3f..5bd51a955e395abb3c96405203901648779fff0d 100644
(file)
--- 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<SeqParameterSet> {
let mut br = BitReader::new(src, BitReaderMode::BE);
let mut sps: SeqParameterSet = unsafe { std::mem::zeroed() };