From: jpr Date: Mon, 17 Oct 2005 14:55:01 +0000 (+0000) Subject: "UN" is an actual VR! X-Git-Tag: Version1.2.bp~4 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e3c42a82bc9cdf00e0783b93a6fd5d645886eaa6;p=gdcm.git "UN" is an actual VR! Thx to NA-MIC for providing data to fix the bug. --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index c784c14d..f5b27b98 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/10/11 14:38:05 $ - Version: $Revision: 1.287 $ + Date: $Date: 2005/10/17 14:55:01 $ + Version: $Revision: 1.288 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1550,7 +1550,7 @@ void Document::FindDocEntryLength( DocEntry *entry ) if ( Filetype == ExplicitVR && !entry->IsImplicitVR() ) { if ( vr == "OB" || vr == "OW" || vr == "SQ" || vr == "UT" - /*|| vr == "UN"*/ ) + || vr == "UN" ) { // The following reserved two bytes (see PS 3.5-2003, section // "7.1.2 Data element structure with explicit vr", p 27) must be