[trunk] Fixed typo in opj_compress error report (fixes issue 350)

This commit is contained in:
Matthieu Darbois 2014-12-02 20:18:50 +00:00
parent 46afb746f0
commit 04ace2a558
1 changed files with 1 additions and 1 deletions

View File

@ -1456,7 +1456,7 @@ static int parse_cmdline_encoder(int argc, char **argv, opj_cparameters_t *param
}else{ }else{
if((parameters->infile[0] == 0) || (parameters->outfile[0] == 0)) { if((parameters->infile[0] == 0) || (parameters->outfile[0] == 0)) {
fprintf(stderr, "[ERROR] Required parameters are missing\n" fprintf(stderr, "[ERROR] Required parameters are missing\n"
"Example: %s -i image.j2k -o image.pgm\n",argv[0]); "Example: %s -i image.pgm -o image.j2k\n",argv[0]);
fprintf(stderr, " Help: %s -h\n",argv[0]); fprintf(stderr, " Help: %s -h\n",argv[0]);
return 1; return 1;
} }