From: malaterre Date: Tue, 11 Jan 2005 19:03:00 +0000 (+0000) Subject: BUG: Solve the previous stoopid bug introduce while moving the transfer syntax out... X-Git-Tag: Version1.0.bp~389 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c1098829d6430a866580cb3904140d29241ad105;p=gdcm.git BUG: Solve the previous stoopid bug introduce while moving the transfer syntax out of gdcm::Document. Update changelog --- diff --git a/ChangeLog b/ChangeLog index 5b240ed0..b2f6f6e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-11 Mathieu Malaterre + * Untangle TransferSynatx from gdcm::Document. Now Document only manipulate + a string and should ask the global TS dict what are the propreties of + the transfer syntax + 2005-01-11 Jean-Pierre Roux * Replace confusing name SwitchSwapToBigEndian name by SwitchByteSwapCode * Add the Document::HandleOutOfGroup0002(uint16_t group) method diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 1a10f5b8..f5320ec6 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2005/01/11 17:19:39 $ - Version: $Revision: 1.175 $ + Date: $Date: 2005/01/11 19:03:01 $ + Version: $Revision: 1.176 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -2623,7 +2623,7 @@ void Document::ReadAndSkipEncapsulatedBasicOffsetTable() void Document::ComputeRLEInfo() { std::string ts = GetTransferSyntax(); - if ( Global::GetTS()->IsRLELossless(ts) ) + if ( !Global::GetTS()->IsRLELossless(ts) ) { return; }