Skip to content

Commit

Permalink
remove unnecessary casting in order to fix clippy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
alastor0325 authored and kinetiknz committed Feb 2, 2025
1 parent f859976 commit 1c72a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp4parse/tests/public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ fn public_parse_pasp_h264() {
"pixel_aspect_ratio should exist"
);
assert_eq!(
v.pixel_aspect_ratio.unwrap() as f32,
{ v.pixel_aspect_ratio.unwrap() },
16.0 / 9.0,
"pixel_aspect_ratio should be 16/9"
);
Expand Down

0 comments on commit 1c72a5a

Please sign in to comment.