]> Creatis software - gdcm.git/commitdiff
"UN" is an actual VR!
authorjpr <jpr>
Mon, 17 Oct 2005 14:55:01 +0000 (14:55 +0000)
committerjpr <jpr>
Mon, 17 Oct 2005 14:55:01 +0000 (14:55 +0000)
Thx to NA-MIC for providing data to fix the bug.

src/gdcmDocument.cxx

index c784c14d8b4d0d287cb3093c74e00f02a85060cc..f5b27b981ae98e85e44962ecd203e8dcca9bd9d7 100644 (file)
@@ -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