libcamera: ipu3: Remove initialization of Size
The Size struct constructor defaults the width and height to 0. Remove the empty braced-list initialization as it is not required. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
52a1332b48
commit
320757897c
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ CameraConfiguration::Status IPU3CameraConfiguration::validate()
|
|||
* only. If no resolution is requested for any stream, or if no sensor
|
||||
* resolution is large enough, pick the largest one.
|
||||
*/
|
||||
Size size = {};
|
||||
Size size;
|
||||
|
||||
for (const StreamConfiguration &cfg : config_) {
|
||||
if (cfg.size.width > size.width)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue