diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-02 03:54:44 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-02 13:29:45 +0200 |
commit | c59272f417e03e1a64d12296d66ba0004f0aa78c (patch) | |
tree | 9d65b635012f6a64a64b113b2efe0811fad199f7 /licenses/gnu-gpl-2.0.txt | |
parent | 1b80471805b98e3a7cefaa8a89611881391b63c7 (diff) |
libcamera: media_device: Zero media graph arrays when querying topology
This silences valgrind that otherwise warns about usage of uninitialized
values. While not strictly required as the kernel should fill the whole
arrays in MEDIA_IOC_G_TOPOLOGY, the extra cost, in a non-critical path,
is negligible compared to the ability to run without valgrind warnings.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'licenses/gnu-gpl-2.0.txt')
0 files changed, 0 insertions, 0 deletions