shithub: jbig2

Download patch

ref: 6254bf0c75c87d68dc61d6333009ac4f85744cc1
parent: 808d2dd8d5a549f63af69688752b6171529e687f
author: Sebastian Rasmussen <sebras@gmail.com>
date: Wed May 23 22:05:36 EDT 2018

jbig2dec: Remove unnecessary scoping.

--- a/jbig2_refinement.c
+++ b/jbig2_refinement.c
@@ -348,11 +348,9 @@
                                Jbig2Segment *segment,
                                const Jbig2RefinementRegionParams *params, Jbig2ArithState *as, Jbig2Image *image, Jbig2ArithCx *GR_stats)
 {
-    {
-        jbig2_error(ctx, JBIG2_SEVERITY_DEBUG, segment->number,
-                    "decoding generic refinement region with offset %d,%x, GRTEMPLATE=%d, TPGRON=%d",
-                    params->DX, params->DY, params->GRTEMPLATE, params->TPGRON);
-    }
+    jbig2_error(ctx, JBIG2_SEVERITY_DEBUG, segment->number,
+            "decoding generic refinement region with offset %d,%x, GRTEMPLATE=%d, TPGRON=%d",
+            params->DX, params->DY, params->GRTEMPLATE, params->TPGRON);
 
     if (params->TPGRON)
         return jbig2_decode_refinement_TPGRON(ctx, params, as, image, GR_stats);