Input file format bug fixed
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Thu, 10 Feb 2005 16:16:18 +0000 (16:16 +0000)
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>
Thu, 10 Feb 2005 16:16:18 +0000 (16:16 +0000)
codec/image_to_j2k.c

index adc6c17d5616adcbe02ad65efa8c0068493e5252..15d48910bc1a4326df2f2ab18caf1fa33a018112 100644 (file)
@@ -955,7 +955,7 @@ int main(int argc, char **argv)
 
   /* Remove the temporary files */
   /* -------------------------- */
-  if (cp.decod_format != PGX_CFMT) {           /* PNM PGM PPM or BMP */
+  if (cp.decod_format != PGX_DFMT) {           /* PNM PGM PPM or BMP */
     for (i = 0; i < img.numcomps; i++) {
       char tmp;
       sprintf(&tmp, "Compo%d", i);