diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-04-14 15:47:27 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-04-21 20:05:21 +0200 |
commit | b2cc8a2f57333f8aa818a7eb519124ce4594b8a2 (patch) | |
tree | e8b646bf72ae4f1fbcf33e3e60499bcd6faedab6 /src/ipa/raspberrypi/cam_helper_ov5647.cpp | |
parent | e58b5fa39f1e4b6d86ebc40cdf17d7dc9030e661 (diff) |
lc-compliance: simple_capture: Handle unsupported roles
It's valid for a camera to return a nullptr if the requested set of
roles can not be satisfied. This is not correctly handled by
lc-compliance which instead crashes, fix this.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Diffstat (limited to 'src/ipa/raspberrypi/cam_helper_ov5647.cpp')
0 files changed, 0 insertions, 0 deletions