video: driver: fix LTR adjustment
LTR is not correctly getting adjusted due to incorrect goto statement leading to failure in premerge with test_AVC_NV12C_3LTR_4Layers_Adjutment_Encode testcase. Fix this. Change-Id: Ieda4f33d6679f645c2eb349e8ddf1015a3814711 Signed-off-by: Akshata Sahukar <quic_asahukar@quicinc.com>
Этот коммит содержится в:
@@ -961,9 +961,10 @@ int msm_vidc_adjust_ltr_count(void *instance, struct v4l2_ctrl *ctrl)
|
||||
if (msm_vidc_get_parent_value(inst, LTR_COUNT,
|
||||
ALL_INTRA, &all_intra, __func__))
|
||||
return -EINVAL;
|
||||
if (all_intra)
|
||||
if (all_intra) {
|
||||
adjusted_value = 0;
|
||||
goto exit;
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
||||
if (!msm_vidc_get_parent_value(inst, LTR_COUNT, PIX_FMTS,
|
||||
|
Ссылка в новой задаче
Block a user