Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change in pnmtoimage if image->comps[].data is NULL #1153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Change in pnmtoimage if image->comps[].data is NULL #1153

wants to merge 1 commit into from

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