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
diff --git a/jdatadst-tj.c b/jdatadst-tj.c
index c6144ec..a2219df 100644
--- a/jdatadst-tj.c
+++ b/jdatadst-tj.c
@@ -130,7 +130,7 @@
{
my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest;
- if(dest->alloc) *dest->outbuffer = dest->buffer;
+ if (dest->alloc) *dest->outbuffer = dest->buffer;
*dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer);
}