Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12f62861 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "CCodec: wrap graphic buffer only if Y plane has the smallest address"...

Merge "CCodec: wrap graphic buffer only if Y plane has the smallest address" into sc-dev am: 6ac4ef51 am: 43d2e5f4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15367054

Change-Id: I29586dedd7df991bdfdb90b3e4dd4ebed2776902
parents 8da13864 43d2e5f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ public:
                        * align(mHeight, 64) / plane.rowSampling;
            }

            if ((maxPtr - minPtr + 1) <= planeSize) {
            if (minPtr == mView.data()[0] && (maxPtr - minPtr + 1) <= planeSize) {
                // FIXME: this is risky as reading/writing data out of bound results
                //        in an undefined behavior, but gralloc does assume a
                //        contiguous mapping