reassign 763246 imagevis3d 3.1.0-3
tag 763246 patch
thanks

Hi,

Sorry about this problem.
LZ4_uncompress is obsolete function.
I createad a patch for imagevis3d which revise this problem.
Please check and apply.

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
--- imagevis3d-3.1.0.orig/Tuvok/IO/UVF/ExtendedOctree/Lz4Compression.cpp
+++ imagevis3d-3.1.0/Tuvok/IO/UVF/ExtendedOctree/Lz4Compression.cpp
@@ -48,11 +48,11 @@ void lz4Decompress(std::shared_ptr<uint8
     throw std::runtime_error("Expected output data too big for LZ4 (max ~1.9GB)");
 
   int const outputSize = static_cast<int>(uncompressedBytes);
-  int readBytes = LZ4_uncompress((const char*)src.get(),
+  int readBytes = LZ4_decompress_fast((const char*)src.get(),
                                  (char*)dst.get(),
                                  outputSize);
   if (readBytes < 0)
-    throw std::runtime_error(std::string("LZ4_uncompress failed: faulty input "
+    throw std::runtime_error(std::string("LZ4_decompress_fast failed: faulty input "
                              "byte at position ") +
                              SysTools::ToString(-readBytes));
 }

Reply via email to