about summary refs log tree commit diff
path: root/converter/other/jpeg2000/jpeg2ktopam.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-10-19 03:31:14 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-10-19 03:31:14 +0000
commit61e565c89671d9d980bb75d2a9d636b409117920 (patch)
tree1c9c983ac9ba90cdfbce517600d3ca3fe4911148 /converter/other/jpeg2000/jpeg2ktopam.c
parent692fab433ed6deae65200da0cbcbeea25b85230c (diff)
downloadnetpbm-mirror-61e565c89671d9d980bb75d2a9d636b409117920.tar.gz
netpbm-mirror-61e565c89671d9d980bb75d2a9d636b409117920.tar.xz
netpbm-mirror-61e565c89671d9d980bb75d2a9d636b409117920.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1751 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jpeg2000/jpeg2ktopam.c')
-rw-r--r--converter/other/jpeg2000/jpeg2ktopam.c7
1 files 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;