Skip to content
Snippets Groups Projects
Commit 60d375ca authored by Frank Bossen's avatar Frank Bossen Committed by Yushin Cho
Browse files

Return correct RDO cost when selecting no split

parent 8ce41379
No related branches found
No related tags found
No related merge requests found
......@@ -1667,6 +1667,8 @@ fn encode_partition_bottomup(seq: &Sequence, fi: &FrameInvariants, fs: &mut Fram
// Recode the full block if it is more efficient
if !must_split && nosplit_rd_cost < rd_cost {
rd_cost = nosplit_rd_cost;
cw.rollback(&cw_checkpoint);
w_pre_cdef.rollback(&w_pre_checkpoint);
w_post_cdef.rollback(&w_post_checkpoint);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment