Fix ident.

This commit is contained in:
Robert G. Jakabosky 2022-01-30 01:06:02 +08:00
parent 3db5f0e48c
commit dc088f772d
No known key found for this signature in database
GPG Key ID: 0C38AF433FE0B1C0
1 changed files with 2 additions and 1 deletions

View File

@ -1498,7 +1498,8 @@ int main(int argc, char **argv)
}
/* Disable strict mode if we want to decode partial codestreams. */
if (parameters.allow_partial && !opj_decoder_set_strict_mode(l_codec, OPJ_FALSE)) {
if (parameters.allow_partial &&
!opj_decoder_set_strict_mode(l_codec, OPJ_FALSE)) {
fprintf(stderr, "ERROR -> opj_decompress: failed to disable strict mode\n");
opj_stream_destroy(l_stream);
opj_destroy_codec(l_codec);