diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-04-23 18:36:52 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-26 16:40:10 +0300 |
commit | 3c0e99e0341559968361eea231a2b5e5dae6034d (patch) | |
tree | 579cb903cffd49c9620e3deaffe69b8942b8b15b /src/android/camera_device.cpp | |
parent | 3252631fbdfce8d63353a2f77f1c1b9aa87d9855 (diff) |
libcamera: V4L2Device: Replace VLA with std::vector in setControls()
The original code uses Variable-Length-Array, which is not
officially supported in C++. This replaces the array with
std::vector.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/camera_device.cpp')
0 files changed, 0 insertions, 0 deletions