]> Creatis software - gdcm.git/commitdiff
BUG: Could not read image CT1_RLE.dcm from dclunie baseline. It was working before...
authormalaterre <malaterre>
Mon, 8 Nov 2004 22:13:40 +0000 (22:13 +0000)
committermalaterre <malaterre>
Mon, 8 Nov 2004 22:13:40 +0000 (22:13 +0000)
src/gdcmPixelConvert.cxx

index add7134726c594d2b85ef74212bc056993add3f0..f6f59d0eca89b228be8658cb9c7127556c42bbcf 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelConvert.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/08 20:05:52 $
-  Version:   $Revision: 1.24 $
+  Date:      $Date: 2004/11/08 22:13:40 $
+  Version:   $Revision: 1.25 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -173,8 +173,8 @@ bool PixelConvert::DecompressRLE16BitsFromRLE8Bits( int NumberOfFrames )
    {
       for ( unsigned int j = 0; j < PixelNumber; j++ )
       {
-         *(x++) = *(a++);
          *(x++) = *(b++);
+         *(x++) = *(a++);
       }
    }