# HG changeset patch # User Sebastien Jodogne # Date 1509295135 -3600 # Node ID a6fab385b89e1dada43eb0b5611574034c2f0abc # Parent fe90b3ec9d4a1b8a4592aabfc44a341efa55c520 fix for dcmtk 3.6.0 diff -r fe90b3ec9d4a -r a6fab385b89e Core/DicomParsing/Internals/DicomImageDecoder.cpp --- a/Core/DicomParsing/Internals/DicomImageDecoder.cpp Fri Oct 27 13:04:41 2017 +0200 +++ b/Core/DicomParsing/Internals/DicomImageDecoder.cpp Sun Oct 29 17:38:55 2017 +0100 @@ -684,8 +684,11 @@ if (syntax == EXS_JPEGLSLossless || syntax == EXS_JPEGLSLossy) { + // The (2, OFTrue) are the default parameters as found in DCMTK 3.6.2 + // http://support.dcmtk.org/docs/classDJLSRepresentationParameter.html + DJLSRepresentationParameter representationParameter(2, OFTrue); + DJLSCodecParameter parameters; - DJLSRepresentationParameter representationParameter; std::auto_ptr decoder; switch (syntax)