From 61e565c89671d9d980bb75d2a9d636b409117920 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 19 Oct 2012 03:31:14 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1751 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/jpeg2000/jpeg2ktopam.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/converter/other/jpeg2000/jpeg2ktopam.c b/converter/other/jpeg2000/jpeg2ktopam.c index 1f68ccb9..49479774 100644 --- a/converter/other/jpeg2000/jpeg2ktopam.c +++ b/converter/other/jpeg2000/jpeg2ktopam.c @@ -111,7 +111,7 @@ readJ2k(const char * const inputFilename, jas_stream_t * instreamP; const char * options; - if ( strcmp(inputFilename, "-") == 0) { + if (streq(inputFilename, "-")) { /* The input image is to be read from standard input. */ instreamP = jas_stream_fdopen(fileno(stdin), "rb"); if (instreamP == NULL) @@ -427,8 +427,9 @@ convertToPamPnm(struct pam * const outpamP, unsigned int row; tuple * tuplerow; jas_seqent_t ** jasperRow; /* malloc'ed */ - /* A row of a plane of the raster from the Jasper library - This is an array of pointers into the 'matrix' data structures. + /* A row of the raster from the Jasper library This is an array of + pointers into the 'matrix' data structures, one for each plane in + the row. */ bool singleMaxval; -- cgit 1.4.1