LZMA saving fixed

This commit is contained in:
honfika
2014-08-01 19:01:57 +02:00
parent c7fb387859
commit 1b6bf416e8
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -531,6 +531,7 @@ public final class SWF implements TreeItem, Timelined {
SWFHeader header = decompress(is, baos, true);
gfx = header.gfx;
compression = header.compression;
lzmaProperties = header.lzmaProperties;
uncompressedData = baos.toByteArray();
SWFInputStream sis = new SWFInputStream(this, uncompressedData);
@@ -778,6 +779,7 @@ public final class SWF implements TreeItem, Timelined {
}
header.compression = SWFCompression.LZMA;
header.lzmaProperties = lzmaProperties;
break;
}
default: { // FWS, GFX