commit | 0d4a859c834194fba1e003c2aa22dc75036444d6 | [log] [tgz] |
---|---|---|
author | Vikas Arora <vikasa@google.com> | Tue Mar 19 16:20:17 2013 -0700 |
committer | Vikas Arora <vikasa@google.com> | Wed Mar 20 09:30:39 2013 -0700 |
tree | f7e95167f3f820a2ffcd09e238f220569bdbc0e0 | |
parent | cad11b70d41fe3698c65b15bfd39093cd8894891 [diff] |
Make WebP decoding independent of stream length. There's case, when Skia SkStream passed to WebP decoder may have incorrect length (stream->getLength()). This is observed, if the App decodes an image (size > 80KB) using: 'ParcelFileDescriptor --> BitmapFactory.decodeStream()' Updated the WebP incremental decoding loop to not rely on stream->getLength() Change-Id: I3c7cdd1cf6483e5bb4c0211bc989e14ba8ce4457