[packages/dcmtk] - comment on CharLS patch (included version, contrary to system CharLS 1.1, grows write buffer)

qboosh qboosh at pld-linux.org
Sun Dec 22 20:52:57 CET 2019


commit 8e0c46f483a91c216502a8778da22aba94271232
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Dec 22 20:53:33 2019 +0100

    - comment on CharLS patch (included version, contrary to system CharLS 1.1, grows write buffer)

 CharLS.patch | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/CharLS.patch b/CharLS.patch
index d2f7484..5603954 100644
--- a/CharLS.patch
+++ b/CharLS.patch
@@ -1,3 +1,7 @@
+NOTE: system CharLS doesn't dynamically grow output buffer; but the calls below have
+buffers allocated for uncompressed_size+1024 bytes, so it's unlikely compressed data
+won't fit (if so, CharLS throws exception).
+
 --- dcmtk-3.6.3/dcmjpls/libsrc/djcodece.cc~	2018-09-20 10:38:14.000000000 +0200
 +++ dcmtk-3.6.3/dcmjpls/libsrc/djcodece.cc	2018-09-20 10:59:27.453790390 +0200
 @@ -664,7 +664,7 @@ OFCondition DJLSEncoderBase::compressRaw
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dcmtk.git/commitdiff/8e0c46f483a91c216502a8778da22aba94271232



More information about the pld-cvs-commit mailing list