mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
media: rockchip: vicap fixed error when sditf is NULL
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: Iadecf86f27f35090c3daba4c5e28def4ab7ad62c
This commit is contained in:
@@ -8016,7 +8016,7 @@ static void rkcif_deal_sof(struct rkcif_device *cif_dev)
|
||||
}
|
||||
} else {
|
||||
rkcif_send_sof(cif_dev);
|
||||
if (cif_dev->sditf[0]->toisp_inf.link_mode == TOISP_NONE)
|
||||
if (!cif_dev->sditf[0] || cif_dev->sditf[0]->toisp_inf.link_mode == TOISP_NONE)
|
||||
detect_stream->frame_idx++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user