Skip to content

Commit

Permalink
Remove useless allocation in rdo_mode_decision
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed Oct 30, 2019
1 parent a30b70d commit 610946f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rdo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ pub fn rdo_mode_decision<T: Pixel>(
best.tx_size,
best.tx_type,
0,
&Vec::new(),
&[],
rdo_type,
true, // For CFL, luma should be always reconstructed.
false,
Expand Down

0 comments on commit 610946f

Please sign in to comment.