Skip to content
Snippets Groups Projects
Commit 45073580 authored by Dichen Zhang's avatar Dichen Zhang Committed by Android (Google) Code Review
Browse files

Merge "YuvToJpegEncoder: change Android::OK to JPEGR_NO_ERROR in JPEG/R encoding." into main

parents f3e4351e aaa85cac
No related branches found
No related tags found
No related merge requests found
......@@ -401,7 +401,7 @@ bool P010Yuv420ToJpegREncoder::encode(JNIEnv* env,
if (int success = jpegREncoder.encodeJPEGR(&p010, &yuv420,
hdrTransferFunction,
&jpegR, jpegQuality,
exif.length > 0 ? &exif : NULL); success != android::OK) {
exif.length > 0 ? &exif : NULL); success != JPEGR_NO_ERROR) {
ALOGW("Encode JPEG/R failed, error code: %d.", success);
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment