X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.cxx;h=6eeebe416a421f5327dd32076ca87adf9581ada7;hb=ec2e18e4b67fae08879a7428560e1c021ed11d6d;hp=361aedd878f997036677fccddfeca4cf6d8dc870;hpb=81ed6935092ed908ca5c1af450f04c84baacf568;p=gdcm.git diff --git a/src/gdcmHeader.cxx b/src/gdcmHeader.cxx index 361aedd8..6eeebe41 100644 --- a/src/gdcmHeader.cxx +++ b/src/gdcmHeader.cxx @@ -124,7 +124,7 @@ void gdcmHeader::CheckSwap() net2host = false; // The easiest case is the one of a DICOM header, since it possesses a - // file preamble where it suffice to look for the sting "DICM". + // file preamble where it suffice to look for the string "DICM". lgrLue = fread(deb, 1, HEADER_LENGTH_TO_READ, fp); entCur = deb + 128; @@ -500,6 +500,8 @@ bool gdcmHeader::IsJPEGSpectralSelectionProcess6_8TransferSyntax(void) { // // --> probablement TOUS les supprimer (Eric dixit) // + + void gdcmHeader::FixFoundLength(ElValue * ElVal, guint32 FoundLength) { // Heuristic: a final fix. if ( FoundLength == 0xffffffff) @@ -730,6 +732,8 @@ void gdcmHeader::LoadElementValue(ElValue * ElVal) { // each element of the group shall be loaded individualy. if( elem == 0 ) //SkipLoad = true; // modif sauvage JPR + // On charge la longueur du groupe + // quand l'element 0x0000 est présent ! if ( SkipLoad ) { // FIXME the following skip is not necessary