[jbig2-cvs] rev 345 - trunk

giles at ghostscript.com giles at ghostscript.com
Wed Dec 1 11:50:07 PST 2004


Author: giles
Date: 2004-12-01 11:50:07 -0800 (Wed, 01 Dec 2004)
New Revision: 345

Modified:
   trunk/jbig2_symbol_dict.c
Log:
Use the correct definition of the SDREFAGG flag to switch GR_stats allocation.


Modified: trunk/jbig2_symbol_dict.c
===================================================================
--- trunk/jbig2_symbol_dict.c	2004-12-01 19:45:29 UTC (rev 344)
+++ trunk/jbig2_symbol_dict.c	2004-12-01 19:50:07 UTC (rev 345)
@@ -572,7 +572,7 @@
 	params.SDTEMPLATE == 1 ? 8192 : 1024;
       GB_stats = jbig2_alloc(ctx->allocator, stats_size);
       memset(GB_stats, 0, stats_size);
-      if (!params.SDREFAGG) {
+      if (params.SDREFAGG) {
 	stats_size = params.SDRTEMPLATE ? 1 << 10 : 1 << 13;
 	GR_stats = jbig2_alloc(ctx->allocator, stats_size);
 	memset(GR_stats, 0, stats_size);



More information about the jbig2-cvs mailing list