[jbig2-cvs] rev 344 - trunk
giles at ghostscript.com
giles at ghostscript.com
Wed Dec 1 11:45:29 PST 2004
Author: giles
Date: 2004-12-01 11:45:29 -0800 (Wed, 01 Dec 2004)
New Revision: 344
Modified:
trunk/jbig2_symbol_dict.c
Log:
Correct a typo, and switch allocation of GR_stats on SDREFAGG instead of SDRTEMPLATE.
Modified: trunk/jbig2_symbol_dict.c
===================================================================
--- trunk/jbig2_symbol_dict.c 2004-12-01 19:40:05 UTC (rev 343)
+++ trunk/jbig2_symbol_dict.c 2004-12-01 19:45:29 UTC (rev 344)
@@ -572,8 +572,8 @@
params.SDTEMPLATE == 1 ? 8192 : 1024;
GB_stats = jbig2_alloc(ctx->allocator, stats_size);
memset(GB_stats, 0, stats_size);
- if (!params.SDRTEMPLATE) {
- stats_size = params.SDRTEMPLATE ? 1 << 1 : 1 << 13;
+ 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