summaryrefslogtreecommitdiff
path: root/event_loop.h
diff options
context:
space:
mode:
authorUmang Jain <email@uajain.com>2020-12-04 12:24:50 +0530
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-12-04 10:28:11 +0000
commit14529b6d1c4a6d405b23157eca8a4b0bec632e00 (patch)
treeba54c1656230f89a416a83abda49d3b29638e48e /event_loop.h
parente6663c0f8c86305acfc9562f75c11b75356a67ec (diff)
simple-cam: Early return if no cameras are found on the system
Failing to do so, the codepath will segfault while trying to acquire a non-existent camera. Signed-off-by: Umang Jain <email@uajain.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'event_loop.h')
0 files changed, 0 insertions, 0 deletions