diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-02-28 14:05:04 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-03-02 12:45:15 -0500 |
commit | bd7903e2a5584fe8d4c1103da25dff429e77c304 (patch) | |
tree | e4ccd14967629b2776c7c0b49f59027871a72946 /jcstest.c | |
parent | 531ad7a4e8ca1768dfb31b6d4323cb4563be1f39 (diff) |
Update libjpeg-turbo to 1.5.3
Bug: 70203010
Test: Existing tests
Use commit at tag 1.5.3 (bf6c774305c9feb30cff7b99e1a475df61bfa008).
This includes a fix for decompressing grayscale JPEG images that were
compressed with a sampling factor other than 1 (b/70203010). The bug
manifested as black stripes appearing when using the region decoder.
ChangeLog.md contains more detailed changes.
Add -Wno-sign-compare to Android.bp to silence a warning in jmemnobs.c.
Change-Id: Ifefc70073fdff9c68e9b2cbcddf114c8bcb7d366
Diffstat (limited to 'jcstest.c')
-rw-r--r-- | jcstest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,7 +77,7 @@ int main(void) jerr.pub.error_exit = my_error_exit; jerr.pub.output_message = my_output_message; - if(setjmp(jerr.jb)) { + if (setjmp(jerr.jb)) { /* this will execute if libjpeg has an error */ jcs_valid = 0; goto done; @@ -104,7 +104,7 @@ int main(void) printf(" Not present at compile time\n"); #endif - if(setjmp(jerr.jb)) { + if (setjmp(jerr.jb)) { /* this will execute if libjpeg has an error */ jcs_alpha_valid = 0; goto done2; |