DescriptionMake WebP decoding independent of stream length.
There's a case in Android, when the 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()'.
This CL updates the WebP incremental decoding loop to not rely on stream->getLength().
R=scroggo@google.com, vikasa@google.com
Committed: https://code.google.com/p/skia/source/detail?r=10651
Patch Set 1 #
Total comments: 3
Patch Set 2 : style fixes #Messages
Total messages: 5 (0 generated)
|