From 4a1e327415affbf29253fdc2465ae78771b82761 Mon Sep 17 00:00:00 2001 From: Matthew Sheby <44249925+msheby@users.noreply.github.com> Date: Thu, 21 Oct 2021 11:44:34 -0700 Subject: [PATCH] update spacing --- src/bin/jp2/converttif.c | 3 ++- src/bin/jp2/opj_compress.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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; }