swf extracting fixed

This commit is contained in:
Honfika
2014-02-25 21:58:41 +01:00
parent 87884e161e
commit a1f6a335db
9 changed files with 128 additions and 38 deletions

View File

@@ -413,6 +413,10 @@ public final class SWF implements TreeItem {
frameRate = sis.readUI8();
frameCount = sis.readUI16();
if (skipTagReading) {
long toRead = fileSize - sis.getPos();
if (toRead > 0) {
sis.readBytes(toRead);
}
return;
}
tags = sis.readTagList(this, 0, parallelRead, true, !checkOnly, gfx);