Using a BufferedInputStream greatly reduces loading file of uncompressed swf files.

This commit is contained in:
Paolo Cancedda
2012-01-03 14:19:28 +01:00
parent 67c124e28c
commit ea14fb2d3d

View File

@@ -179,7 +179,8 @@ public class Main {
public static SWF parseSWF(String file) throws Exception {
FileInputStream fis = new FileInputStream(file);
SWF locswf = new SWF(fis);
InputStream bis = new BufferedInputStream(fis);
SWF locswf = new SWF(bis);
return locswf;
}