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

Commit 3fb171b0 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

am: 9370c4ab

Change-Id: Icd0c4ad9dd77ce5f31fb13c7f84b31aa4e730df9
parents 2117bb09 9370c4ab
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",