diff options
author | Leon Scroggins III <scroggo@google.com> | 2017-12-04 11:37:30 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2017-12-04 11:37:30 -0500 |
commit | 471ef097cc85de24bea28dc5fbec5aec18532317 (patch) | |
tree | 1cf2fb39a8bd312969dca0007f6007dcfa52874e /libs/hwui/renderthread/CacheManager.cpp | |
parent | c51777b9b87d6b9f12f80cc998c30f6dea8de7d0 (diff) |
Stop using skjpeg_error_mgr in YuvToJpegEncoder
Bug: None
Test: compile
skjpeg_error_mgr is only different from the standard one in that it
includes a jmp_buf. A recent change to skjpeg_error_mgr stores a stack
of jmp_bufs (see https://skia-review.googlesource.com/c/skia/+/79241).
This complexity is unnecessary for YuvToJpegEncoder, which only contains
a single method with libjpeg calls (which might call longjmp). Simplify
this code by placing the jmp_buf on the stack. This fixes the Skia to
Android roll, which includes the above Skia change.
Change-Id: If9a33ed10ea60131906a632a7030e0b69a21f4ea
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions