mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 08:26:20 +00:00
Fixed: #2503 Exporting sound streams as FLV
Fixed: Exporting sound streams at all in nightly
This commit is contained in:
@@ -191,7 +191,7 @@ public class SoundExporter {
|
||||
FLVOutputStream flv = new FLVOutputStream(fos);
|
||||
flv.writeHeader(true, false);
|
||||
|
||||
int ms = (int) (1000.0 / ((Tag) st).getSwf().frameRate);
|
||||
int ms = (int) (1000.0 / sh.getSwf().frameRate);
|
||||
for (int b = 0; b < blocks.size(); b++) {
|
||||
byte[] data = blocks.get(b).streamSoundData.getRangeData();
|
||||
if (st.getSoundFormatId() == 2) { //MP3
|
||||
|
||||
Reference in New Issue
Block a user