#1251 SWF is not the same after exporting to XML then importing back to SWF fix?

This commit is contained in:
honfika@gmail.com
2016-06-16 23:13:06 +02:00
parent 6f60765424
commit adfdbd3dbb

View File

@@ -1822,7 +1822,7 @@ public class CommandLineArgumentParser {
SWF swf = new SWF();
new SwfXmlImporter().importSwf(swf, xml);
try (OutputStream fos = new BufferedOutputStream(new FileOutputStream(new File(args.pop())))) {
swf.saveTo(new BufferedOutputStream(fos));
swf.saveTo(fos);
}
} catch (IOException ex) {
logger.log(Level.SEVERE, null, ex);