shithub: jbig2

Download patch

ref: c51afb6cce1f14340b7ec8476c64949b469614a7
parent: 8a90500857d4c0d9a6628196447002efe68a0f46
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Fri Dec 3 12:03:02 EST 2004

#ifdef protect a debug image dump.


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@348 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_refinement.c
+++ b/jbig2_refinement.c
@@ -89,7 +89,7 @@
       jbig2_image_set_pixel(image, x, y, bit);
     }
   }
-
+#ifdef JBIG2_DEBUG
   {
     static count = 0;
     char name[32];
@@ -99,6 +99,7 @@
     jbig2_image_write_pbm_file(image, name);
     count++;
   }
+#endif
 
   return 0;
 }