Unbreak lossless.

Change-Id: I8130ec9b5371c65e885f245a5ac73840c23cb4a1
This commit is contained in:
Ronald S. Bultje 2013-07-09 09:46:37 -07:00
parent 8350e7fe38
commit 059c0ba5d4

View File

@ -3509,7 +3509,7 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
}
}
} else if (mb_skip_allowed && ref_frame != INTRA_FRAME &&
this_mode != SPLITMV) {
this_mode != SPLITMV && !xd->lossless) {
if (RDCOST(x->rdmult, x->rddiv, rate_y + rate_uv, distortion2) <
RDCOST(x->rdmult, x->rddiv, 0, total_sse)) {
// Add in the cost of the no skip flag.