From: malaterre Date: Mon, 8 Nov 2004 22:13:40 +0000 (+0000) Subject: BUG: Could not read image CT1_RLE.dcm from dclunie baseline. It was working before... X-Git-Tag: Version1.0.bp~622 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7e782b6c8db2851eb5710ae46d7cc0525ee203ba;p=gdcm.git BUG: Could not read image CT1_RLE.dcm from dclunie baseline. It was working before because high byte was zero. Thanks to JP for patch --- diff --git a/src/gdcmPixelConvert.cxx b/src/gdcmPixelConvert.cxx index add71347..f6f59d0e 100644 --- a/src/gdcmPixelConvert.cxx +++ b/src/gdcmPixelConvert.cxx @@ -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++); } }