shithub: jbig2

Download patch

ref: ab05baa2b12b5ddb46dc33799e80fd57b2e21f00
parent: 5d7dcc27504ba2bbf19e5de635634411c85574b7
author: Sebastian Rasmussen <[email protected]>
date: Wed Jul 4 18:23:26 EDT 2018

jbig2dec: Improve halftoning debug message.

--- a/jbig2_halftone.c
+++ b/jbig2_halftone.c
@@ -575,9 +575,12 @@
     offset += 4;
 
     jbig2_error(ctx, JBIG2_SEVERITY_INFO, segment->number,
-                " grid %d x %d @ (%d.%d,%d.%d) vector (%d.%d,%d.%d)",
+                "grid %d x %d @ (%d.%d,%d.%d) vector (%d.%d,%d.%d)",
                 params.HGW, params.HGH,
-                params.HGX >> 8, params.HGX & 0xff, params.HGY >> 8, params.HGY & 0xff, params.HRX >> 8, params.HRX & 0xff, params.HRY >> 8, params.HRY & 0xff);
+                params.HGX >> 8, params.HGX & 0xff,
+                params.HGY >> 8, params.HGY & 0xff,
+                params.HRX >> 8, params.HRX & 0xff,
+                params.HRY >> 8, params.HRY & 0xff);
 
     /* 7.4.5.2.2 */
     if (!params.HMMR) {