summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/android/camera_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index e9404c2f..5272b9ec 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -1316,7 +1316,7 @@ int CameraDevice::configureStreams(camera3_stream_configuration_t *stream_list)
* the Android camera3_stream_t.
*/
for (CameraStream &cameraStream : streams_) {
- int ret = cameraStream.configure();
+ ret = cameraStream.configure();
if (ret) {
LOG(HAL, Error) << "Failed to configure camera stream";
return ret;