swf header editor

This commit is contained in:
honfika@gmail.com
2015-04-27 16:57:36 +02:00
parent 924627f413
commit c1226d39fd
8 changed files with 218 additions and 42 deletions

View File

@@ -94,7 +94,7 @@ public class SWFSearch {
boolean valid = swf.fileSize > 0
&& swf.version > 0
&& (!swf.tags.isEmpty() || noCheck)
&& swf.version < 30; // Needs to be fixed when SWF versions reaches this value
&& swf.version <= SWF.MAX_VERSION;
if (valid) {
long limit = pmi.getPos();
MemoryInputStream is = new MemoryInputStream(mis.getAllRead(), (int) (long) addr, (int) limit);