Skip to content

Conversation

@szukw000
Copy link
Contributor

Cnf. #1152.
Correction in opj_decompress.c for input filename without extension.

@szukw000
Copy link
Contributor Author

@rouault ,
this PR handles two cases:

  1. where image->comps[].data is NULL.
  2. where the input filename does not have an extension, e.g. '.j2k' etc .
    The old code simply returns the last 4 signs.
    The case where the filename is shorter than 4 signs is not handled.
    I suppose all opj_compress/opj_decompress functions must be reconsidered.
    winfried

@rouault
Copy link
Collaborator

rouault commented Oct 15, 2018

Indentation issue reported by https://travis-ci.org/uclouvain/openjpeg/jobs/440595756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants