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

Commit 9370c4ab authored by Liu, Kai1's avatar Liu, Kai1 Committed by android-build-merger
Browse files

Merge "Fix the issue of NV12 input with wrong format VPX_IMG_FMT_I420"

am: b12f55b3

Change-Id: Id59e6068c57c1cd7fc5df251e4f76157cdeb8d50
parents 82f49a0c b12f55b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -514,7 +514,7 @@ void C2SoftVpxEnc::process(
                        return;
                    }
                    vpx_img_wrap(&raw_frame, VPX_IMG_FMT_I420, stride, vstride,
                                 mStrideAlign, (uint8_t*)rView->data()[0]);
                                 mStrideAlign, mConversionBuffer.data());
                    vpx_img_set_rect(&raw_frame, 0, 0, width, height);
                } else {
                    ALOGE("Conversion buffer is too small: %u x %u for %zu",