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

Commit b8f41f2f 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:...

Merge "Fix the issue of NV12 input with wrong format VPX_IMG_FMT_I420" am: b12f55b3 am: 9370c4ab
am: 3fb171b0

Change-Id: Idc97c047c7705b89ee9fbb1440b3f8d628f8cfe3
parents 9fb60eae 3fb171b0
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",