mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-11 08:32:13 +00:00
exporting MP3
This commit is contained in:
@@ -524,7 +524,8 @@ public class SWF {
|
||||
if ((shead.getSoundFormat() == 2) && mp3) {
|
||||
fos = new FileOutputStream(outdir + File.separator + id + ".mp3");
|
||||
for (int b = 0; b < blocks.size(); b++) {
|
||||
fos.write(blocks.get(b).getData(SWF.DEFAULT_VERSION));
|
||||
byte data[] = blocks.get(b).getData(SWF.DEFAULT_VERSION);
|
||||
fos.write(data, 4, data.length - 4);
|
||||
}
|
||||
} else {
|
||||
fos = new FileOutputStream(outdir + File.separator + id + ".flv");
|
||||
|
||||
Reference in New Issue
Block a user