wok annotate ghostscript/stuff/ghostscript-system-jasper.patch @ rev 19561

fusecloop: fix create_compressed_fs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 16 10:45:18 2016 +0100 (2016-12-16)
parents
children
rev   line source
slaxemulator@6652 1 diff -up ghostscript-8.64/base/sjpx.c.system-jasper ghostscript-8.64/base/sjpx.c
slaxemulator@6652 2 --- ghostscript-8.64/base/sjpx.c.system-jasper 2008-08-21 00:22:49.000000000 +0100
slaxemulator@6652 3 +++ ghostscript-8.64/base/sjpx.c 2009-02-04 11:35:56.000000000 +0000
slaxemulator@6652 4 @@ -34,14 +34,6 @@ static void s_jpxd_set_defaults(stream_s
slaxemulator@6652 5 private_st_jpxd_state(); /* creates a gc object for our state,
slaxemulator@6652 6 defined in sjpx.h */
slaxemulator@6652 7
slaxemulator@6652 8 -/* error reporting callback for the jpx library */
slaxemulator@6652 9 -static void
slaxemulator@6652 10 -s_jpx_jas_error_cb(jas_error_t err, char *msg)
slaxemulator@6652 11 -{
slaxemulator@6652 12 - dprintf2("jasper (code %d) %s", (int)err, msg);
slaxemulator@6652 13 -}
slaxemulator@6652 14 -
slaxemulator@6652 15 -
slaxemulator@6652 16 /* initialize the steam.
slaxemulator@6652 17 this involves allocating the stream and image structures, and
slaxemulator@6652 18 initializing the decoder.
slaxemulator@6652 19 @@ -59,7 +51,6 @@ s_jpxd_init(stream_state * ss)
slaxemulator@6652 20 }
slaxemulator@6652 21
slaxemulator@6652 22 status = jas_init();
slaxemulator@6652 23 - jas_set_error_cb(s_jpx_jas_error_cb);
slaxemulator@6652 24 #ifdef JPX_DEBUG
slaxemulator@6652 25 /* raise the error reporting threshold from the default (0) */
slaxemulator@6652 26 jas_setdbglevel(1);