]> Creatis software - clitk.git/blobdiff - common/clitkXdrImageIOReader.cxx
Cleared CMake files, removed LINK_LIBRARIES (deprecated) and prepared for packaging...
[clitk.git] / common / clitkXdrImageIOReader.cxx
index 2c81a95d7d6accbe0fa2f1b1535d993b740ff8b1..6f651b5e20218fea7d21679304e0bd7fe3bdf6e7 100644 (file)
@@ -1,3 +1,20 @@
+/*=========================================================================
+  Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
+
+  Authors belong to: 
+  - University of LYON              http://www.universite-lyon.fr/
+  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
+
+  This software is distributed WITHOUT ANY WARRANTY; without even
+  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+  PURPOSE.  See the copyright notices for more information.
+
+  It is distributed under dual licence
+
+  - BSD        See included LICENSE.txt file
+  - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+======================================================================-====*/
 /**
  * @file   clitkXdrImageIO.cxx
  * @author Simon Rit <simon.rit@gmail.com>
@@ -1008,10 +1025,10 @@ bool clitk::XdrImageIO::CanReadFile(const char* FileNameToRead)
 
     fstream = fopen(FileNameToRead, "rt");
     if (fstream == NULL)
-    {
-        AVSerror("Couldn't open file " << FileNameToRead);
+//    {
+//        AVSerror("Couldn't open file " << FileNameToRead);
         return false;
-    }
+//    }
     fgets(temp, 500, fstream);
     fclose(fstream);