June 15, 2026
3:06 p.m.
Esme Povirk (@madewokherd) commented about dlls/windowscodecs/ungif.c:
return GIF_OK; }
+/****************************************************************************** + * Skip the LZW image sub-blocks without decoding any pixels. + * Called after DGifSetupDecompress has read the code size byte. + *****************************************************************************/ +static int +DGifSkipImageData(GifFileType *GifFile) +{ + GifByteType *CodeBlock; + do { + if (DGifGetCodeNext(GifFile, &CodeBlock) == GIF_ERROR)
So if I understand this, we're still reading all the image data, but then we're discarding it? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11149#note_143159