summaryrefslogtreecommitdiff
path: root/gs/jbig2dec
diff options
context:
space:
mode:
authorRalph Giles <ralph.giles@artifex.com>2005-12-18 18:11:25 +0000
committerRalph Giles <ralph.giles@artifex.com>2005-12-18 18:11:25 +0000
commit21a5001bc477e1b424f09bd9c7da58f9b768e9ca (patch)
treef9a3d08d4eded8aa164e33ba78b4db94c7c145c9 /gs/jbig2dec
parent8fa6f731005037bacba7b44804251a1cae5b8554 (diff)
Correct an incorrect return value. Thanks to Leonardo for pointing this
out. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6231 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/jbig2dec')
-rw-r--r--gs/jbig2dec/jbig2_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/jbig2dec/jbig2_text.c b/gs/jbig2dec/jbig2_text.c
index da2c82b3e..b2c7112d8 100644
--- a/gs/jbig2dec/jbig2_text.c
+++ b/gs/jbig2dec/jbig2_text.c
@@ -252,7 +252,7 @@ jbig2_decode_text_region(Jbig2Ctx *ctx, Jbig2Segment *segment,
if (SBSYMCODES == NULL) {
jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
"could not construct Symbol ID huffman table!");
- return NULL;
+ return -1;
}
}