Fix some APNGs not playing in new renderer.

This commit is contained in:
Greyson Parrelli
2026-03-26 15:47:03 -04:00
parent d45f80f25d
commit caa09c82d0

View File

@@ -69,7 +69,7 @@ class ApngDecoder private constructor(
}
// Skip over data + CRC for chunks we don't care about
inputStream.skip(length.toLong() + 4)
inputStream.skipNBytesOrThrow(length.toLong() + 4)
}
} catch (e: EOFException) {
return false