diff options
| author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2015-11-02 21:49:25 +0100 |
|---|---|---|
| committer | Matthieu Darbois <mayeut@users.noreply.github.com> | 2015-11-02 21:49:25 +0100 |
| commit | 968085190c47f1d43e4c19b9fe1ad0d6311f8d2c (patch) | |
| tree | 2fcca7c60a149e1ddbac78f1a301bc0c9b4e8589 | |
| parent | 38ffbbe42ee36cf2ab402977cfd5dda471355052 (diff) | |
| parent | 93a61459cdcf69de75872d28f09d813173e5bf46 (diff) | |
Merge pull request #651 from stweil/fix
opj_decompress: Update error message
| -rw-r--r-- | src/bin/jp2/opj_decompress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/jp2/opj_decompress.c b/src/bin/jp2/opj_decompress.c index eb319be4..f3b1cd5c 100644 --- a/src/bin/jp2/opj_decompress.c +++ b/src/bin/jp2/opj_decompress.c @@ -599,7 +599,7 @@ int parse_cmdline_decoder(int argc, char **argv, opj_decompress_parameters *para case PNG_DFMT: break; default: - fprintf(stderr, "Unknown output format image %s [only *.pnm, *.pgm, *.ppm, *.pgx, *.bmp, *.tif, *.raw or *.tga]!! \n", outfile); + fprintf(stderr, "Unknown output format image %s [only *.png, *.pnm, *.pgm, *.ppm, *.pgx, *.bmp, *.tif, *.raw or *.tga]!!\n", outfile); return 1; } if (opj_strcpy_s(parameters->outfile, sizeof(parameters->outfile), outfile) != 0) { @@ -644,7 +644,7 @@ int parse_cmdline_decoder(int argc, char **argv, opj_decompress_parameters *para img_fol->out_format = "png"; break; default: - fprintf(stderr, "Unknown output format image %s [only *.pnm, *.pgm, *.ppm, *.pgx, *.bmp, *.tif, *.raw or *.tga]!! \n", outformat); + fprintf(stderr, "Unknown output format image %s [only *.png, *.pnm, *.pgm, *.ppm, *.pgx, *.bmp, *.tif, *.raw or *.tga]!!\n", outformat); return 1; break; } |
