From 542f06007c7934c1b74e562efd177f49d9a51f09 Mon Sep 17 00:00:00 2001 From: Francois-Olivier Devaux Date: Thu, 10 Feb 2005 16:16:18 +0000 Subject: [PATCH] Input file format bug fixed --- codec/image_to_j2k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/image_to_j2k.c b/codec/image_to_j2k.c index adc6c17d..15d48910 100644 --- a/codec/image_to_j2k.c +++ b/codec/image_to_j2k.c @@ -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);