From: Jakub Bogusz Date: Sun, 22 Dec 2019 19:53:33 +0000 (+0100) Subject: - comment on CharLS patch (included version, contrary to system CharLS 1.1, grows... X-Git-Tag: auto/th/dcmtk-3.6.5-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=8e0c46f483a91c216502a8778da22aba94271232;p=packages%2Fdcmtk.git - comment on CharLS patch (included version, contrary to system CharLS 1.1, grows write buffer) --- 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