Skip to content

Commit a979e47

Browse files
author
Praveen Chavan
committed
libc2dcolorconvert: Initialize V-plane-stride in YUV surface descriptor
Initialize stride2 that corresponds to the stride of V-plane CRs-Fixed: 1033135 Change-Id: I8330dadde19cd44444d4b37b09bdd0e00f581a7d
1 parent b80c14d commit a979e47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc2dcolorconvert/C2DColorConverter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ void* C2DColorConverter::getDummySurfaceDef(ColorConvertFormat format, size_t wi
316316
surfaceDef->plane1 = (void *)0xaaaaaaaa;
317317
surfaceDef->phys1 = (void *)0xaaaaaaaa;
318318
surfaceDef->stride1 = calcStride(format, width);
319+
surfaceDef->stride2 = calcStride(format, width);
319320
surfaceDef->phys2 = NULL;
320321
surfaceDef->plane2 = NULL;
321322

0 commit comments

Comments
 (0)