]> Creatis software - gdcm.git/blobdiff - src/gdcmJpeg.cxx
* Modification to compile with the distutils.
[gdcm.git] / src / gdcmJpeg.cxx
index c4d3db4cf97a96b7baa793d7c8cbbf0a15301fe3..76f04c23b834a962fc14e59e75958123277773a0 100644 (file)
@@ -146,11 +146,8 @@ my_error_exit (j_common_ptr cinfo) {
  * Sample routine for JPEG decompression.  We assume that the source file name
  * is passed in.  We want to return 1 on success, 0 on error.
  */
-
-
-//GLOBAL(int)
-int
-gdcmFile::gdcm_read_JPEG_file (void * image_buffer) {
+//GLOBAL(bool)
+bool gdcmFile::gdcm_read_JPEG_file (FILE *fp,void * image_buffer) {
 
 char *pimage;