Commit ccca9512 authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

CameraITS: fix data copy array out of bound issue

We assumed that the Y stride was always larger or equal to chroma
stride for YUV. This isn't a reasonable assumption as the chroma
stride could be larger for interleaved UV format. This change
uses the max row stride across all planes as the intermediate
array size.

Bug: 17913095
Change-Id: I75b36dc27e5ecbaa4643f773c8589dfc14e062e7
parent 2c5747aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment