diff options
-rw-r--r-- | gs/jbig2dec/jbig2_symbol_dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/jbig2dec/jbig2_symbol_dict.c b/gs/jbig2dec/jbig2_symbol_dict.c index d8060803d..6c0efc673 100644 --- a/gs/jbig2dec/jbig2_symbol_dict.c +++ b/gs/jbig2dec/jbig2_symbol_dict.c | |||
@@ -480,7 +480,7 @@ jbig2_decode_symbol_dict(Jbig2Ctx *ctx, | |||
480 | 480 | ||
481 | /* multiple symbols are handled as a text region */ | 481 | /* multiple symbols are handled as a text region */ |
482 | jbig2_decode_text_region(ctx, segment, tparams, (const Jbig2SymbolDict * const *)refagg_dicts, | 482 | jbig2_decode_text_region(ctx, segment, tparams, (const Jbig2SymbolDict * const *)refagg_dicts, |
483 | n_refagg_dicts, image, data, size, GR_stats, as, (Jbig2WordStream *)NULL); | 483 | n_refagg_dicts, image, data, size, GR_stats, as, as ? NULL : ws); |
484 | 484 | ||
485 | SDNEWSYMS->glyphs[NSYMSDECODED] = image; | 485 | SDNEWSYMS->glyphs[NSYMSDECODED] = image; |
486 | refagg_dicts[0]->glyphs[params->SDNUMINSYMS + NSYMSDECODED] = jbig2_image_clone(ctx, SDNEWSYMS->glyphs[NSYMSDECODED]); | 486 | refagg_dicts[0]->glyphs[params->SDNUMINSYMS + NSYMSDECODED] = jbig2_image_clone(ctx, SDNEWSYMS->glyphs[NSYMSDECODED]); |