opj_jp2_apply_pclr(): remove useless assert that can trigger on some files (fixes #1125)
This commit is contained in:
parent
aaf48ee6ba
commit
8fc09e50e5
|
@ -1106,7 +1106,6 @@ static OPJ_BOOL opj_jp2_apply_pclr(opj_image_t *image,
|
|||
|
||||
/* Direct use: */
|
||||
if (cmap[i].mtyp == 0) {
|
||||
assert(cmp == 0);
|
||||
dst = new_comps[i].data;
|
||||
assert(dst);
|
||||
for (j = 0; j < max; ++j) {
|
||||
|
|
Loading…
Reference in New Issue