Make sure maskSize bytes are skipped

If the CompressedQuickTime opcode has a mask then this wasn't processed properly. See for example P30946BDC.pict.
This commit is contained in:
Rolf Howarth 2025-03-25 09:27:05 +01:00 committed by Harald Kuhr
parent df51ef340d
commit ae0899fe76
2 changed files with 1 additions and 0 deletions

View File

@ -1593,6 +1593,7 @@ public final class PICTImageReader extends ImageReaderBase {
// ...and more // ...and more
int accuracy = pStream.readInt(); int accuracy = pStream.readInt();
int maskSize = pStream.readInt(); int maskSize = pStream.readInt();
pStream.skipBytes(maskSize);
if (DEBUG) { if (DEBUG) {
System.out.print("matteSize: " + matteSize); System.out.print("matteSize: " + matteSize);