f8f891f
diff -up ghostscript-8.64/base/sjpx.c.system-jasper ghostscript-8.64/base/sjpx.c
f8f891f
--- ghostscript-8.64/base/sjpx.c.system-jasper	2008-08-21 00:22:49.000000000 +0100
f8f891f
+++ ghostscript-8.64/base/sjpx.c	2009-02-04 11:35:56.000000000 +0000
1fa2af9
@@ -34,14 +34,6 @@ static void s_jpxd_set_defaults(stream_s
1fa2af9
 private_st_jpxd_state(); /* creates a gc object for our state,
1fa2af9
 			    defined in sjpx.h */
1fa2af9
 
1fa2af9
-/* error reporting callback for the jpx library */
1fa2af9
-static void
1fa2af9
-s_jpx_jas_error_cb(jas_error_t err, char *msg)
1fa2af9
-{
1fa2af9
-  dprintf2("jasper (code %d) %s", (int)err, msg);
1fa2af9
-}
1fa2af9
-
1fa2af9
-
1fa2af9
 /* initialize the steam.
1fa2af9
    this involves allocating the stream and image structures, and
1fa2af9
    initializing the decoder.
1fa2af9
@@ -59,7 +51,6 @@ s_jpxd_init(stream_state * ss)
1fa2af9
     }
1fa2af9
 
1fa2af9
     status = jas_init();
1fa2af9
-    jas_set_error_cb(s_jpx_jas_error_cb);
1fa2af9
 #ifdef JPX_DEBUG
1fa2af9
     /* raise the error reporting threshold from the default (0) */
1fa2af9
     jas_setdbglevel(1);