diff OrthancServer/ParsedDicomFile.cpp @ 817:83f0cae7dfcc

little endianness is ok
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 May 2014 16:44:39 +0200
parents 5dcfdd3bfca9
children a811bdf8b8eb
line wrap: on
line diff
--- 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<const Uint8*>(accessor.GetConstRow(y)), pitch);
           target += pitch;
           break;