commit | ba25360a261e5b000678397bd32b1341394831db | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Tue Aug 09 21:13:39 2022 +0000 |
committer | Kevin Lubick <kjlubick@google.com> | Tue Aug 09 21:14:17 2022 +0000 |
tree | eeb05831f8bc888625f29055915ec8d23adfae66 | |
parent | 991fa9e77b4ce961e840f56482a349a0349580a4 [diff] |
Fix include in YuvToJpegEncoder I noticed this while cleaning up includes in https://skia-review.googlesource.com/c/skia/+/565005 Change-Id: Ibbd6fd7741a79b913b822baa207a61f419b23fe2
diff --git a/libs/hwui/jni/YuvToJpegEncoder.cpp b/libs/hwui/jni/YuvToJpegEncoder.cpp index 689cf0b..c674d73 100644 --- a/libs/hwui/jni/YuvToJpegEncoder.cpp +++ b/libs/hwui/jni/YuvToJpegEncoder.cpp
@@ -6,6 +6,8 @@ #include "graphics_jni_helpers.h" +#include <csetjmp> + YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { // Only ImageFormat.NV21 and ImageFormat.YUY2 are supported // for now.