diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c index 5cb8f862d..2e858bb3a 100644 --- a/src/lib/openjp2/j2k.c +++ b/src/lib/openjp2/j2k.c @@ -7099,9 +7099,7 @@ static OPJ_BOOL opj_j2k_is_imf_compliant(opj_cparameters_t *parameters, "-> Non-IMF codestream will be generated\n", mainlevel); ret = OPJ_FALSE; - } - else - { + } else { /* Validate sublevel */ assert(sizeof(tabMaxSubLevelFromMainLevel) == (OPJ_IMF_MAINLEVEL_MAX + 1) * sizeof(tabMaxSubLevelFromMainLevel[0]));