update spacing
This commit is contained in:
parent
4b3b978352
commit
4a1e327415
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue