From 0926e1f4dcc19e88c11d3fda489399a060fe99a8 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Tue, 31 Mar 2015 07:35:25 +0200 Subject: [PATCH] Sound export fix --- .../com/jpexs/decompiler/flash/exporters/SoundExporter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/SoundExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/SoundExporter.java index d1c2faef6..7c5fee4bc 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/SoundExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/SoundExporter.java @@ -33,6 +33,7 @@ import com.jpexs.decompiler.flash.tags.Tag; import com.jpexs.decompiler.flash.tags.base.SoundStreamHeadTypeTag; import com.jpexs.decompiler.flash.tags.base.SoundTag; import com.jpexs.decompiler.flash.types.sound.SoundFormat; +import com.jpexs.helpers.Helper; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.File; @@ -97,7 +98,7 @@ public class SoundExporter { ext = "flv"; } - final File file = new File(outdir + File.separator + st.getCharacterExportFileName() + "." + ext); + final File file = new File(outdir + File.separator + Helper.makeFileName(st.getCharacterExportFileName()) + "." + ext); new RetryTask(new RunnableIOEx() { @Override public void run() throws IOException {