diff --git a/src/bin/jp2/converttif.c b/src/bin/jp2/converttif.c index 3744fafb..f657d2d4 100644 --- a/src/bin/jp2/converttif.c +++ b/src/bin/jp2/converttif.c @@ -1506,7 +1506,8 @@ opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters) scale_component(&(image->comps[j]), 12); } - } else if ((parameters->target_bitdepth > 0) && (parameters->target_bitdepth != tiBps)) { + } else if ((parameters->target_bitdepth > 0) && + (parameters->target_bitdepth != tiBps)) { for (j = 0; j < numcomps; ++j) { scale_component(&(image->comps[j]), parameters->target_bitdepth); } diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index 4448f740..61fd9ed7 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -918,8 +918,8 @@ static int parse_cmdline_encoder(int argc, char **argv, char *s = opj_optarg; sscanf(s, "%u", &target_bitdepth); if (target_bitdepth == 0) { - fprintf(stderr, "Target bitdepth must be at least 1 bit.\n"); - return 1; + fprintf(stderr, "Target bitdepth must be at least 1 bit.\n"); + return 1; } parameters->target_bitdepth = target_bitdepth; }