Commit 3807a19f authored by Ren-Pei Zeng's avatar Ren-Pei Zeng Committed by Commit Bot

Fixes bad code affected by -ftrivial-auto-var-init=pattern

Bug: b:150263879
Test: Take portrait mode photo with CCA.
Change-Id: I6dfb1f76f456cee4f0cdf67e429070569568a86e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089145
Auto-Submit: Ren-Pei Zeng <kamesan@chromium.org>
Reviewed-by: default avatarShik Chen <shik@chromium.org>
Commit-Queue: Shik Chen <shik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747283}
parent b301f66f
......@@ -791,7 +791,7 @@ bool CameraDeviceDelegate::IsYUVReprocessingSupported(int* max_width,
cros::mojom::HalPixelFormat::HAL_PIXEL_FORMAT_BLOB);
size_t idx = 0;
while (idx < formats_map.size() && !has_yuv_input_blob_output) {
while (idx < formats_map.size()) {
auto in_format = formats_map[idx++];
auto out_amount = formats_map[idx++];
if (in_format != format_yuv) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment