mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 11:44:36 +00:00
faster imageToShape
This commit is contained in:
@@ -154,7 +154,7 @@ public class ZippedSWFBundle implements SWFBundle {
|
||||
ZipEntry entryIn;
|
||||
ZipEntry entryOut;
|
||||
|
||||
byte swfData[] = Helper.readStream(swfIs);
|
||||
byte[] swfData = Helper.readStream(swfIs);
|
||||
|
||||
try {
|
||||
while ((entryIn = zis.getNextEntry()) != null) {
|
||||
@@ -169,7 +169,7 @@ public class ZippedSWFBundle implements SWFBundle {
|
||||
zos.putNextEntry(entryOut);
|
||||
Helper.copyStream(src, zos, entryOut.getSize() == -1 ? Long.MAX_VALUE : entryOut.getSize());
|
||||
zos.closeEntry();
|
||||
zis.closeEntry();
|
||||
zis.closeEntry();
|
||||
}
|
||||
} finally {
|
||||
zis.close();
|
||||
|
||||
Reference in New Issue
Block a user