Skip to content

Commit

Permalink
fix incorrect parameter ordering Self::scaler
Browse files Browse the repository at this point in the history
  • Loading branch information
gerwin3 committed Jul 4, 2024
1 parent 21aa6b0 commit 3496324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ impl DecoderSplit {
// accept this new format...
if frame.format() != scaler.input().format {
*scaler = Self::scaler(
frame.format(),
scaler.input().width,
scaler.input().height,
frame.format(),
scaler.output().width,
scaler.output().height,
)?;
Expand Down

0 comments on commit 3496324

Please sign in to comment.