jbig2dec

Ralph Giles <[email protected]> Mon, 10 Mar 2003 06:44:06 -0800
Newsgroups gmane.comp.printing.ghostscript.jbig2dec.cvs
Message-ID <[email protected]>
Update of /cvsroot/jbig2dec/jbig2dec
In directory sc8-pr-cvs1:/tmp/cvs-serv31714

Modified Files:
	jbig2_segment.c 
Log Message:
add a debug message about segment page association

Index: jbig2_segment.c
===================================================================
RCS file: /cvsroot/jbig2dec/jbig2dec/jbig2_segment.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- jbig2_segment.c	5 Mar 2003 14:29:35 -0000	1.22
+++ jbig2_segment.c	10 Mar 2003 14:44:01 -0000	1.23
@@ -1,7 +1,7 @@
 /*
     jbig2dec
     
-    Copyright (c) 2002 artofcode LLC.
+    Copyright (c) 2002-2003 artofcode LLC.
     
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -106,9 +106,12 @@
   } else {
 	result->page_association = buf[offset++];
   }
-  
+  jbig2_error(ctx, JBIG2_SEVERITY_DEBUG, result->number,
+  	"segment %d is associated with page %d",
+  	result->number, result->page_association);
+  	
   /* 7.2.7 */
-  result->data_length = jbig2_get_int32 (buf + offset);
+  result->data_length = jbig2_get_int32(buf + offset);
   *p_header_size = offset + 4;
 
   return result;