From ce8165567b5afde0d63016cae16c2bd0fd9ea338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 20 Nov 2022 13:16:21 +0100 Subject: [PATCH] Fixed #1879 False tag order error with SoundStreamHead --- CHANGELOG.md | 2 ++ .../jpexs/decompiler/flash/tags/SoundStreamHeadTag.java | 9 +-------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2036363cf..03bf158d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ All notable changes to this project will be documented in this file. - Move tag to action did not remove original tag - Show in tag list from tag scripts - Move/Copy tag to action on tag scripts +- [#1879] False tag order error with SoundStreamHead ### Changed - GFX - DefineExternalImage2 no longer handled as character @@ -2635,6 +2636,7 @@ All notable changes to this project will be documented in this file. [#1807]: https://www.free-decompiler.com/flash/issues/1807 [#1840]: https://www.free-decompiler.com/flash/issues/1840 [#1877]: https://www.free-decompiler.com/flash/issues/1877 +[#1879]: https://www.free-decompiler.com/flash/issues/1879 [#1867]: https://www.free-decompiler.com/flash/issues/1867 [#1868]: https://www.free-decompiler.com/flash/issues/1868 [#1649]: https://www.free-decompiler.com/flash/issues/1649 diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java index 0cb593e04..1895453a0 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/tags/SoundStreamHeadTag.java @@ -274,13 +274,6 @@ public class SoundStreamHeadTag extends Tag implements SoundStreamHeadTypeTag { public String toString() { return getName() + (virtualCharacterId > 0 ? " (" + virtualCharacterId + ")" : ""); } - - @Override - public void getNeededCharacters(Set needed) { - if (virtualCharacterId > 0) { - needed.add(virtualCharacterId); - } - } - + //getNeededCharacters intentionally not defined }