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

Commit 1b78722a authored by Greg Kaiser's avatar Greg Kaiser Committed by Android (Google) Code Review
Browse files

Merge "Fix null check"

parents 3c4b264c 5dec3fda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ status_t ColorConverter::Image::getYUVPlaneOffsetAndStride(
        size_t *u_stride,
        size_t *v_stride) const {

    if (y_offset == nullptr || v_offset == nullptr || v_offset == nullptr
    if (y_offset == nullptr || u_offset == nullptr || v_offset == nullptr
            || y_stride == nullptr || u_stride == nullptr || v_stride == nullptr) {
        return ERROR_UNSUPPORTED;
    }