Input file format bug fixed
This commit is contained in:
parent
fdbca0fc9d
commit
542f06007c
|
@ -955,7 +955,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
/* Remove the temporary files */
|
/* 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++) {
|
for (i = 0; i < img.numcomps; i++) {
|
||||||
char tmp;
|
char tmp;
|
||||||
sprintf(&tmp, "Compo%d", i);
|
sprintf(&tmp, "Compo%d", i);
|
||||||
|
|
Loading…
Reference in New Issue