Mercurial > hg > orthanc
comparison Core/DicomParsing/Internals/DicomImageDecoder.cpp @ 2430:a6fab385b89e
fix for dcmtk 3.6.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 29 Oct 2017 17:38:55 +0100 |
parents | 5a7c5c541a1d |
children | 878b59270859 |
comparison
equal
deleted
inserted
replaced
2429:fe90b3ec9d4a | 2430:a6fab385b89e |
---|---|
682 **/ | 682 **/ |
683 | 683 |
684 if (syntax == EXS_JPEGLSLossless || | 684 if (syntax == EXS_JPEGLSLossless || |
685 syntax == EXS_JPEGLSLossy) | 685 syntax == EXS_JPEGLSLossy) |
686 { | 686 { |
687 // The (2, OFTrue) are the default parameters as found in DCMTK 3.6.2 | |
688 // http://support.dcmtk.org/docs/classDJLSRepresentationParameter.html | |
689 DJLSRepresentationParameter representationParameter(2, OFTrue); | |
690 | |
687 DJLSCodecParameter parameters; | 691 DJLSCodecParameter parameters; |
688 DJLSRepresentationParameter representationParameter; | |
689 std::auto_ptr<DJLSDecoderBase> decoder; | 692 std::auto_ptr<DJLSDecoderBase> decoder; |
690 | 693 |
691 switch (syntax) | 694 switch (syntax) |
692 { | 695 { |
693 case EXS_JPEGLSLossless: | 696 case EXS_JPEGLSLossless: |