diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-07-16 04:30:47 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-07-16 09:18:42 +0300 |
commit | a68cec65c196c24d122026bbc980028cc7d266cc (patch) | |
tree | 620be21c2432935a218d2db234b9b1012889f05f /Documentation/coding-style.rst | |
parent | 124336329c11e1fc1687504fc37f67189a44ee2d (diff) |
libcamera: stream: Initialise pixelFormat in StreamConfiguration()
To avoid depending on unitialised values, set the pixelFormat field of
the StreamConfiguration class to 0 in the constructor.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions