Skip to content

Commit

Permalink
clippy fix for Rust 1.75
Browse files Browse the repository at this point in the history
  • Loading branch information
scottlamb committed Dec 29, 2023
1 parent 934cc3d commit e8ee6ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/codec/h264.rs
Original file line number Diff line number Diff line change
Expand Up @@ -620,9 +620,7 @@ impl InternalParameters {
let mut sprop_parameter_sets = None;
for p in format_specific_params.split(';') {
match p.trim().split_once('=') {
Some((key, value)) if key == "sprop-parameter-sets" => {
sprop_parameter_sets = Some(value)
}
Some(("sprop-parameter-sets", value)) => sprop_parameter_sets = Some(value),
None => return Err("key without value".into()),
_ => (),
}
Expand Down

0 comments on commit e8ee6ac

Please sign in to comment.