mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 08:45:53 +00:00
faster loading of compressed files
This commit is contained in:
@@ -539,7 +539,8 @@ public final class SWF implements TreeItem, Timelined {
|
||||
gfx = true;
|
||||
}
|
||||
if (hdr[0] == 'C') {
|
||||
sis = new SWFInputStream(new InflaterInputStream(is), version, 8);
|
||||
byte[] uncompressedData = Helper.readStream(new InflaterInputStream(is));
|
||||
sis = new SWFInputStream(new ByteArrayInputStream(uncompressedData), version, 8);
|
||||
compressed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user