summaryrefslogtreecommitdiffstats
path: root/image/decoders/nsWebPDecoder.cpp
Commit message (Collapse)AuthorAgeLines
* Check for contiguous buffer state.wolfbeast2019-01-21-0/+4
| | | | | | | | | | | | | | When we are reading large image data (i.e.: people using webp to stream video instead of the native webm format; I'm looking at you, Giphy!) we can run into the situation where the available data is not in a contiguous buffer, and we need to either buffer additional data or re-buffer from the start. If we don't do this, we can run into issues because of buffer over-reading (causing corrupted data if allocated or more likely crashes if not allocated). Re-buffering is expensive, but this should be rare and limited to dealing with unintended use for animated image formats. This resolves #940.
* Bug 1462355 - Part 1c. Make individual image decoders to use updated ↵wolfbeast2018-11-21-1/+5
| | | | | | Decoder/SurfacePipe methods. Extend this change to nsWebPDecoder.cpp
* Port WebP decoder changes.wolfbeast2018-11-20-254/+371
| | | | | This breaks animated WebP for the moment, but adds QCMS color management and lexer changes. Tag #831
* Free the decoded image buffer before deleting the WebP decoder.wolfbeast2018-06-13-0/+1
| | | | This should solve #483.
* Implement WebP image decoder.wolfbeast2018-02-03-0/+467