Browse Source

video: driver: fix decode conceal colour

fix decode conceal colour

Change-Id: I2db138d68459a1e2c929acab31ff41c3b316e3b6
Signed-off-by: Darshana Patil <[email protected]>
Darshana Patil 4 years ago
parent
commit
550a5599b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver/vidc/src/msm_vdec.c

+ 1 - 1
driver/vidc/src/msm_vdec.c

@@ -725,7 +725,7 @@ static int msm_vdec_set_conceal_color_10bit(struct msm_vidc_inst *inst,
 		return -EINVAL;
 	}
 
-	conceal_color_10bit = inst->capabilities->cap[CONCEAL_COLOR_8BIT].value;
+	conceal_color_10bit = inst->capabilities->cap[CONCEAL_COLOR_10BIT].value;
 	i_vpr_h(inst, "%s: conceal color 10bit: %#x",
 		__func__, conceal_color_10bit);
 	rc = venus_hfi_session_property(inst,