X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRLEFramesInfo.cxx;h=4dcd5656abe9ce2d634fd71cf487fe7a5734fef7;hb=e9a711266d34e33b482edbe241b2e40db7d9915a;hp=8a8ed7cb8201a73b27816e0bf802e0187019a03d;hpb=6e4cc88754328a1fbd54f9ca9f722675f346ea20;p=gdcm.git diff --git a/src/gdcmRLEFramesInfo.cxx b/src/gdcmRLEFramesInfo.cxx index 8a8ed7cb..4dcd5656 100644 --- a/src/gdcmRLEFramesInfo.cxx +++ b/src/gdcmRLEFramesInfo.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRLEFramesInfo.cxx,v $ Language: C++ - Date: $Date: 2005/06/17 12:27:52 $ - Version: $Revision: 1.16 $ + Date: $Date: 2005/09/07 08:49:58 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -124,13 +124,13 @@ bool RLEFramesInfo::ConvertRLE16BitsFromRLE8Bits(uint8_t *raw, int xSize, if ( !Util::IsCurrentProcessorBigEndian() ) { - a = copyRaw; // begining of 'low bytes' - b = a + pixelNumber; // begining of 'hight bytes' + a = copyRaw; // beginning of 'low bytes' + b = a + pixelNumber; // beginning of 'hight bytes' } else { - b = copyRaw; // begining of 'low bytes' - a = b + pixelNumber; // begining of 'hight bytes' + b = copyRaw; // beginning of 'low bytes' + a = b + pixelNumber; // beginning of 'hight bytes' } // Re order bytes @@ -143,7 +143,6 @@ bool RLEFramesInfo::ConvertRLE16BitsFromRLE8Bits(uint8_t *raw, int xSize, } } - delete[] copyRaw; return true;