]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg.cxx
* Add Command and CommandManager to have possible callback
[gdcm.git] / src / gdcmJpeg.cxx
index 7cfee75fc209001b1a585f4611f27e012f92ca5a..9b663f9f7f0bf8e184a89e5e279666a51f01bd16 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJpeg.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/18 19:06:30 $
-  Version:   $Revision: 1.51 $
+  Date:      $Date: 2005/11/28 15:20:33 $
+  Version:   $Revision: 1.52 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -268,7 +268,7 @@ bool JPEGFragment::ReadJPEGFile (std::ifstream *fp, void *image_buffer, int &sta
     // If we get here, the JPEG code has signaled an error.
     // We need to clean up the JPEG object, close the input file, and return.
 
-    gdcmErrorMacro( "Serious Problem !" );
+    gdcmStaticErrorMacro( "Serious Problem !" );
     jpeg_destroy_decompress(&cinfo);
     return 0;
   }