Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Use the alternative TRasterCodecLZO::decompress signature for big-endian in tiio_tzl.cpp.

Érico Rolim90244c4e5c69
diff --git a/toonz/sources/image/tzl/tiio_tzl.cpp b/toonz/sources/image/tzl/tiio_tzl.cpp
index bcdf7f6b3..34c0134e3 100644
--- a/toonz/sources/image/tzl/tiio_tzl.cpp
+++ b/toonz/sources/image/tzl/tiio_tzl.cpp
@@ -945,7 +945,7 @@ void TLevelWriterTzl::saveImage(const TImageP &img, const TFrameId &_fid,
Header *header = (Header *)buff;
TRasterP ras;
- m_codec->decompress(buff, buffSize, ras);
+ m_codec->decompress(buff, buffSize, ras, false);
delete[] buff;
assert((TRasterCM32P)ras);
assert(ras->getLx() == header->m_lx);