Remove redundant code for intrabc RD calculation
Change-Id: I2405656d1151559420b101fc51ceae8a6ba5ca56
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index c5a3d8b..cb81354 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -9282,7 +9282,6 @@
if (rd_pick_intrabc_mode_sb(cpi, x, rd_cost, bsize, best_rd) < best_rd) {
ctx->skip = x->skip; // FIXME where is the proper place to set this?!
assert(rd_cost->rate != INT_MAX);
- rd_cost->rdcost = RDCOST(x->rdmult, rd_cost->rate, rd_cost->dist);
}
#endif
if (rd_cost->rate == INT_MAX) return;