endtag fix, comment added back (was removed by netbeans refactoring tool)

This commit is contained in:
Honfika
2014-04-05 16:19:19 +02:00
parent ca52f63769
commit 9182b15286
2 changed files with 4 additions and 3 deletions

View File

@@ -234,9 +234,8 @@ public class DefineSpriteTag extends CharacterTag implements Container, Drawable
sos.writeUI16(spriteId);
sos.writeUI16(frameCount);
if (hasEndTag) {
sos.writeTags(subTags);
sos.writeUI16(0);
}
sos.writeUI16(0);
sos.close();
} catch (IOException e) {
}

View File

@@ -38,5 +38,7 @@ public class SoundStreamBlockTag extends Tag {
* @throws IOException
*/
public SoundStreamBlockTag(SWF swf, byte[] headerData, byte[] data, long pos) throws IOException {
super(swf, ID, "SoundStreamBlock", headerData, data, pos); }
super(swf, ID, "SoundStreamBlock", headerData, data, pos);
//all data is streamSoundData
}
}