gecko-dev/image/decoders
Timothy Nikkel f658742e04 Bug 1835509. If we encounter a bad LZW block in a gif frame still report success if we have decoded frames before this successfully. r=aosmond
This is similar to this code in image/Decoder.cpp

https://searchfox.org/mozilla-central/rev/ae292ebba6074601b33fa983dd4e01ce6a1ec4ac/image/Decoder.cpp#257

We won't display the frames after the bad frame, but that seems reasonable, and an improvement from current. If we get more reports of this we can look into just skipping the bad frame instead of truncating before the bad frame.

Differential Revision: https://phabricator.services.mozilla.com/D179495
2024-03-01 11:42:43 +00:00
..
icon Bug 1872536 - Use MakeUniqueFallible for large buffers in image decoders/encoders. r=gfx-reviewers,lsalzman 2023-12-31 22:16:46 +00:00
EXIF.cpp
EXIF.h
GIF2.h
iccjpeg.c
iccjpeg.h
metrics.yaml Bug 1877840 - Migrate GVST metrics in the avif namespace to pure glean r=chutten,tnikkel 2024-02-09 19:47:46 +00:00
moz.build
nsAVIFDecoder.cpp Bug 1877840 - Migrate GVST metrics in the avif namespace to pure glean r=chutten,tnikkel 2024-02-09 19:47:46 +00:00
nsAVIFDecoder.h Bug 1869332 - Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin 2023-12-20 02:32:34 +00:00
nsBMPDecoder.cpp Bug 1872536 - Use MakeUniqueFallible for large buffers in image decoders/encoders. r=gfx-reviewers,lsalzman 2023-12-31 22:16:46 +00:00
nsBMPDecoder.h
nsGIFDecoder2.cpp Bug 1835509. If we encounter a bad LZW block in a gif frame still report success if we have decoded frames before this successfully. r=aosmond 2024-03-01 11:42:43 +00:00
nsGIFDecoder2.h Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille 2023-03-27 07:20:25 +00:00
nsICODecoder.cpp Bug 1872536 - Use MakeUniqueFallible for large buffers in image decoders/encoders. r=gfx-reviewers,lsalzman 2023-12-31 22:16:46 +00:00
nsICODecoder.h
nsIconDecoder.cpp
nsIconDecoder.h
nsJPEGDecoder.cpp Bug 1823375. Fix all variable shadowing warnings in imagelib. r=Zaggy1024,gfx-reviewers,nical 2023-04-11 08:06:29 +00:00
nsJPEGDecoder.h Backed out changeset 9e5254e7728e (bug 1823614) for causing reftest failures on pattern-transformed. CLOSED TREE 2023-03-25 05:23:27 +02:00
nsJXLDecoder.cpp Bug 1823375. Fix all variable shadowing warnings in imagelib. r=Zaggy1024,gfx-reviewers,nical 2023-04-11 08:06:29 +00:00
nsJXLDecoder.h
nsPNGDecoder.cpp Bug 1873422. Ignore "invalid chunk type" errors in pngs if we have enough data to display something when encountered. r=aosmond 2024-02-24 01:00:10 +00:00
nsPNGDecoder.h Bug 1873422. Ignore "invalid chunk type" errors in pngs if we have enough data to display something when encountered. r=aosmond 2024-02-24 01:00:10 +00:00
nsWebPDecoder.cpp Bug 1794754. Return NEED_MORE_DATA from nsWebPDecoder::ReadHeader if ICC was specified but chunk not found r=aosmond 2022-10-20 07:53:25 +00:00
nsWebPDecoder.h