mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 23:39:44 +03:00
libcamera: pipeline: rkisp1: Fix usage of uninitialised variable
Commit1a813a5c3a
introduced usage of an uninitialised variable. Fix it. Fixes:1a813a5c3a
("libcamera: media_device: Handle media device fd in acquire() and release()") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
ba5d2c871a
commit
06387039d6
1 changed files with 1 additions and 4 deletions
|
@ -159,12 +159,9 @@ int PipelineHandlerRkISP1::configureStreams(Camera *camera,
|
|||
|
||||
ret = link->setEnabled(enable);
|
||||
if (ret < 0)
|
||||
break;
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
/*
|
||||
* Configure the format on the sensor output and propagate it through
|
||||
* the pipeline.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue