[jbig2-cvs] rev 337 - trunk
giles at ghostscript.com
giles at ghostscript.com
Wed Nov 24 11:29:08 PST 2004
Author: giles
Date: 2004-11-24 11:29:07 -0800 (Wed, 24 Nov 2004)
New Revision: 337
Modified:
trunk/jbig2_refinement.c
Log:
Invert the check for refinement region movable template
offsets. This was the last bug in the refinement region
segment handling code, we now handle the ubc 042_22.jb2
test file!
Modified: trunk/jbig2_refinement.c
===================================================================
--- trunk/jbig2_refinement.c 2004-11-24 19:26:35 UTC (rev 336)
+++ trunk/jbig2_refinement.c 2004-11-24 19:29:07 UTC (rev 337)
@@ -346,7 +346,7 @@
offset += 18;
/* 7.4.7.3 */
- if (params.GRTEMPLATE) {
+ if (!params.GRTEMPLATE) {
if (segment->data_length < 22)
return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
"Segment too short");
More information about the jbig2-cvs
mailing list