Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openjp2/jp2: Validate all SGcod and SPcod parameters.
Previously the multiple component transformation SGcod(C) and wavelet transformation (SPcod(H) parameter values were never checked, which allowed for out of range values. The lack of validation allowed the provided codestream in issue uclouvain#1158 through, but after this commit there is an error.
- Loading branch information