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

Commit c3a7ab32 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bad pixel out-of-bounds filter" into pi-dev

parents ef618025 c82cd24a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1729,7 +1729,7 @@ static sp<TiffWriter> DngCreator_setup(JNIEnv* env, jobject thiz, uint32_t image
            x -= static_cast<int32_t>(xmin);
            y -= static_cast<int32_t>(ymin);
            if (x < 0 || y < 0 || static_cast<uint32_t>(x) >= width ||
                    static_cast<uint32_t>(y) >= width) {
                    static_cast<uint32_t>(y) >= height) {
                continue;
            }
            v.push_back(x);