mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-17 13:31:53 +00:00
Improved loop detection (own algorithm)
Boomerang part removed (was not working well)
This commit is contained in:
@@ -1166,13 +1166,13 @@ public class SWFInputStream extends InputStream {
|
||||
List<Future<Tag>> futureResults = new ArrayList<>();
|
||||
List<Tag> tags = new ArrayList<>();
|
||||
Tag tag;
|
||||
Tag previousTag = null;
|
||||
Tag previousTag = null;
|
||||
while (true) {
|
||||
long pos = getPos();
|
||||
try{
|
||||
try {
|
||||
tag = readTag(level, pos, false);
|
||||
}catch(EndOfStreamException ex){
|
||||
tag=null;
|
||||
} catch (EndOfStreamException ex) {
|
||||
tag = null;
|
||||
}
|
||||
if (tag == null) {
|
||||
break;
|
||||
@@ -1185,7 +1185,7 @@ public class SWFInputStream extends InputStream {
|
||||
|
||||
Future<Tag> future = executor.submit(new TagResolutionTask(tag, version, level));
|
||||
futureResults.add(future);
|
||||
}
|
||||
}
|
||||
|
||||
for (Future<Tag> future : futureResults) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user