[gs-cvs] rev 7060 - trunk/gs/jasper/src/libjasper/jp2
giles at ghostscript.com
giles at ghostscript.com
Tue Sep 19 16:48:03 PDT 2006
Author: giles
Date: 2006-09-19 16:48:03 -0700 (Tue, 19 Sep 2006)
New Revision: 7060
Modified:
trunk/gs/jasper/src/libjasper/jp2/jp2_dec.c
Log:
Correct a typo that cause jpx decoding to fail for all files.
Modified: trunk/gs/jasper/src/libjasper/jp2/jp2_dec.c
===================================================================
--- trunk/gs/jasper/src/libjasper/jp2/jp2_dec.c 2006-09-19 23:45:43 UTC (rev 7059)
+++ trunk/gs/jasper/src/libjasper/jp2/jp2_dec.c 2006-09-19 23:48:03 UTC (rev 7060)
@@ -384,7 +384,7 @@
/* Determine the type of each component. */
/* work around for gs bug 688869 - RG */
- if (dec->numchans >= dec->image->numcmpts_) {
+ if (dec->numchans > dec->image->numcmpts_) {
jas_eprintf("error: too few components in decoded image!"
" (%d instead of %d)\n",
dec->image->numcmpts_, dec->numchans);
More information about the gs-cvs
mailing list