]> Creatis software - gdcm.git/blobdiff - src/gdcmHeaderHelper.cxx
* FIX taking into account the possible 7fe0,0010 multiplicity
[gdcm.git] / src / gdcmHeaderHelper.cxx
index 95128a194ba324ff094eb617e0f99cab032f41ed..27aafc3de3e535e5950b2220673feed9b7fff60f 100644 (file)
@@ -37,6 +37,8 @@
    int GetDir(std::string dPath, std::list<std::string> &filenames)
    {
     DIR *dir = opendir( dPath.c_str() );
+    if (dir == NULL)
+       return false;
     struct dirent *entry;
     while((entry = readdir(dir)) != NULL)
     {
@@ -123,7 +125,7 @@ int gdcmHeaderHelper::GetPixelSize() {
  *          - FD    Double,
  * \warning 12 bit images appear as 16 bit.
  * \        24 bit images appear as 8 bit
- * \        DOUBLE images are coded as 64 bit
+ * \        64 bit means 'DOUBLE' image
  * \               (no DOUBLE images in kosher DICOM,
  * \                but so usefull for people that miss them ;-)
  * @return