changeset 817:83f0cae7dfcc

little endianness is ok
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 May 2014 16:44:39 +0200
parents 2f63c225c4c0
children 19f5bf450973 a7d757d5e93d
files OrthancServer/ParsedDicomFile.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
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;