# HG changeset patch # User Sebastien Jodogne # Date 1399560279 -7200 # Node ID 83f0cae7dfcc5547e0e81a1c13e9bb1d6247cd5d # Parent 2f63c225c4c05824468153c56e4e29a0ef1d3586 little endianness is ok diff -r 2f63c225c4c0 -r 83f0cae7dfcc OrthancServer/ParsedDicomFile.cpp --- a/OrthancServer/ParsedDicomFile.cpp Thu May 08 16:08:17 2014 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Thu May 08 16:44:39 2014 +0200 @@ -1183,11 +1183,6 @@ case PixelFormat_Grayscale16: case PixelFormat_SignedGrayscale16: { - /*if (Toolbox::DetectEndianness() != Endianness_Little) - { - throw OrthancException(ErrorCode_NotImplemented); - }*/ - memcpy(target, reinterpret_cast(accessor.GetConstRow(y)), pitch); target += pitch; break;