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 8452444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec/h264.rs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +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" => {
Some(("sprop-parameter-sets", value)) => {
sprop_parameter_sets = Some(value)
}
None => return Err("key without value".into()),
Expand Down

0 comments on commit 8452444

Please sign in to comment.