Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 700088: Report error if all wanted J2K components are not decoded.
Ghostscript used to attempt to use even the undecoded components. The source code for upstream's opj_decompress tool avoided this by a workaround along with a comment indicating that this ought to be done in the library (so all clients, e.g. Ghostscript will benefit from it). With this commit the library will error out if not all requested components are successfully decoded. Thus Ghostscript will no longer crash. Reported in uclouvain/openjpeg#1158 sent upstream in uclouvain/openjpeg#1164 and finally committed in e66125f
- Loading branch information