mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 23:00:45 +00:00
do not copy big byte arrays, store only references (ByteArrayRange) e.g in image tags
This commit is contained in:
@@ -1395,7 +1395,7 @@ public class XFLConverter {
|
||||
for (Tag t : tags) {
|
||||
if (found && (t instanceof SoundStreamBlockTag)) {
|
||||
SoundStreamBlockTag bl = (SoundStreamBlockTag) t;
|
||||
soundData = bl.streamSoundData;
|
||||
soundData = bl.streamSoundData.getRangeData();
|
||||
break;
|
||||
}
|
||||
if (t == symbol) {
|
||||
@@ -1407,7 +1407,7 @@ public class XFLConverter {
|
||||
soundFormat = sound.soundFormat;
|
||||
soundRate = sound.soundRate;
|
||||
soundType = sound.soundType;
|
||||
soundData = sound.soundData;
|
||||
soundData = sound.soundData.getRangeData();
|
||||
soundSize = sound.soundSize;
|
||||
soundSampleCount = sound.soundSampleCount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user