From adfdbd3dbb316150925aa0dece3cc85c9be3f135 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Thu, 16 Jun 2016 23:13:06 +0200 Subject: [PATCH] #1251 SWF is not the same after exporting to XML then importing back to SWF fix? --- .../decompiler/flash/console/CommandLineArgumentParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java index 2c0491e9b..1a38454d0 100644 --- a/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java +++ b/src/com/jpexs/decompiler/flash/console/CommandLineArgumentParser.java @@ -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);