rev 335 - trunk
[email protected] Wed, 24 Nov 2004 09:52:32 -0800 (PST)
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: giles
Date: 2004-11-24 09:52:32 -0800 (Wed, 24 Nov 2004)
New Revision: 335
Modified:
trunk/jbig2_refinement.c
Log:
Correct the size of the GB_stats allocation for the refinement
templates; the sizes were reversed.
Modified: trunk/jbig2_refinement.c
===================================================================
--- trunk/jbig2_refinement.c 2004-11-24 17:50:30 UTC (rev 334)
+++ trunk/jbig2_refinement.c 2004-11-24 17:52:32 UTC (rev 335)
@@ -406,7 +406,7 @@
"allocated %d x %d image buffer for region decode results",
rsi.width, rsi.height);
- stats_size = params.GRTEMPLATE ? 1 << 13 : 1 << 10;
+ stats_size = params.GRTEMPLATE ? 1 << 10 : 1 << 13;
GB_stats = jbig2_alloc(ctx->allocator, stats_size);
memset(GB_stats, 0, stats_size);