1 |
blino |
19330 |
--- base/sjpx.c 2010-08-17 16:31:58.000000000 +0200 |
2 |
|
|
+++ base/sjpx.c.oden 2010-09-24 18:11:22.418720305 +0200 |
3 |
|
|
@@ -33,14 +33,6 @@ static void s_jpxd_set_defaults(stream_s |
4 |
|
|
private_st_jpxd_state(); /* creates a gc object for our state, |
5 |
|
|
defined in sjpx.h */ |
6 |
|
|
|
7 |
|
|
-/* error reporting callback for the jpx library */ |
8 |
|
|
-static void |
9 |
|
|
-s_jpx_jas_error_cb(jas_error_t err, char *msg) |
10 |
|
|
-{ |
11 |
|
|
- dprintf2("jasper (code %d) %s", (int)err, msg); |
12 |
|
|
-} |
13 |
|
|
- |
14 |
|
|
- |
15 |
|
|
/* initialize the steam. |
16 |
|
|
this involves allocating the stream and image structures, and |
17 |
|
|
initializing the decoder. |
18 |
|
|
@@ -56,7 +48,6 @@ s_jpxd_init(stream_state * ss) |
19 |
|
|
} |
20 |
|
|
|
21 |
|
|
status = jas_init(); |
22 |
|
|
- jas_set_error_cb(s_jpx_jas_error_cb); |
23 |
|
|
#ifdef JPX_DEBUG |
24 |
|
|
/* raise the error reporting threshold from the default (0) */ |
25 |
|
|
jas_setdbglevel(1); |