mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-30 06:46:07 +00:00
Issue #395 GFx tag fixes
This commit is contained in:
@@ -379,7 +379,7 @@ public class SWFOutputStream extends OutputStream {
|
||||
int tagLength = data.length;
|
||||
int tagID = tag.getId();
|
||||
int tagIDLength = (tagID << 6);
|
||||
if ((tagLength < 0x3f) && (!tag.forceWriteAsLong)) {
|
||||
if ((tagLength <= 62) && (!tag.forceWriteAsLong)) {
|
||||
tagIDLength += tagLength;
|
||||
sos.writeUI16(tagIDLength);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user